QuickTable

org.terminal21.client.components.chakra.QuickTable
case class QuickTable(key: String, variant: String, colorScheme: String, size: String, style: Map[String, Any], caption: Option[String], headers: Seq[Any], rows: Seq[Seq[Any]], dataStore: TypedMap) extends UiComponent, HasStyle

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HasStyle
trait UiComponent
class UiElement
trait AnyElement
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type This = QuickTable

Value members

Concrete methods

def caption(text: String): QuickTable
def withCaption(v: Option[String]): QuickTable
def withCaption(v: String): QuickTable
def withColorScheme(v: String): QuickTable
override def withDataStore(ds: TypedMap): This

Attributes

Definition Classes
def withHeaders(headers: String*): QuickTable
def withKey(v: String): This
def withRows(data: Seq[Seq[Any]]): QuickTable

Value parameters

data

A mix of plain types or UiElement. If it is a UiElement, it will be rendered otherwise if it is anything else the .toString method will be used to render it.

Attributes

Returns

QuickTable

def withRowsElements(data: Seq[Seq[UiElement]]): QuickTable
def withSize(v: String): QuickTable
override def withStyle(v: Map[String, Any]): QuickTable

Attributes

Definition Classes
HasStyle
def withVariant(v: String): QuickTable

Inherited methods

def findKey(key: String): UiElement

Attributes

Inherited from:
UiElement
override def flat: Seq[UiElement]

Attributes

Returns

this element along all it's children flattened

Definition Classes
Inherited from:
UiComponent
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def store[V](key: TypedMapKey[V], value: V): This

Attributes

Inherited from:
UiElement
def storedValue[V](key: TypedMapKey[V]): V

Attributes

Inherited from:
UiElement
protected def subKey(suffix: String): String

Attributes

Inherited from:
UiComponent

Attributes

Inherited from:
UiElement
def toSimpleString: String

Attributes

Inherited from:
UiElement
def withStyle(vs: (String, Any)*): This

Attributes

Inherited from:
HasStyle

Concrete fields

lazy override val rendered: Seq[UiElement]