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[UiElement], rows: Seq[Seq[UiElement]]) extends UiComponent, HasStyle[QuickTable]

Attributes

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

Members list

Value members

Concrete methods

def caption(text: String): QuickTable
def headers(headers: String*): QuickTable
def rows(data: Seq[Seq[Any]]): QuickTable
def rowsElements(data: Seq[Seq[UiElement]]): QuickTable
def withCaption(v: Option[String]): QuickTable
def withColorScheme(v: String): QuickTable
def withKey(v: String): QuickTable
def withRows(v: Seq[Seq[UiElement]]): QuickTable
def withSize(v: String): QuickTable
override def withStyle(v: Map[String, Any]): QuickTable

Attributes

Definition Classes
def withVariant(v: String): QuickTable

Inherited methods

override def flat: Seq[UiElement]

Attributes

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

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def render()(using session: ConnectedSession): Unit

Attributes

Inherited from:
UiElement
def renderChanges()(using session: ConnectedSession): Unit

Renders any changes for this element and it's children (if any). The element must previously have been added to the session.

Renders any changes for this element and it's children (if any). The element must previously have been added to the session.

Attributes

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

Attributes

Inherited from:
HasStyle

Concrete fields

lazy override val rendered: Seq[UiElement]