HtmlTableBuilder

works.iterative.ui.components.laminar.tables.HtmlTableBuilderModule.HtmlTableBuilder
case class HtmlTableBuilder[A](data: List[A], headerRowMod: L.HtmlMod = ..., dataRowMod: (A, Int) => L.HtmlMod = ..., headerCellMod: String => L.HtmlMod = ..., dataCellMod: (String, A) => L.HtmlMod = ...)(using tab: HtmlTabular[A])

Attributes

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

Members list

Value members

Concrete methods

def build: L.HtmlElement
def build(tableMod: L.HtmlMod*): L.HtmlElement
def buildTableData(data: List[A]): List[ReactiveHtmlElement[TableRow]]
def buildTableHeader: ReactiveHtmlElement[TableRow]
def dataCellMod(mod: (String, A) => L.HtmlMod): HtmlTableBuilder[A]
def dataRowMod(mod: A => L.HtmlMod): HtmlTableBuilder[A]
def dataRowMod(mod: (A, Int) => L.HtmlMod): HtmlTableBuilder[A]
def headerCellMod(mod: String => L.HtmlMod): HtmlTableBuilder[A]
def headerRowMod(mod: L.HtmlMod): HtmlTableBuilder[A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product