tabulatorRef

@Composable
inline fun <T : Any> IComponent.tabulatorRef(data: List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), serializer: KSerializer<T> = serializer(), serializersModule: SerializersModule? = null, className: String? = null, id: String? = null, noinline content: @Composable ITabulator<T>.() -> Unit = {}): Tabulator<T>

Create Tabulator component with a Kotlin data model, returning a reference.

Return

the Tabulator component

Parameters

data

the tabulator data

options

the tabulator options

types

the set of table types

serializer

the serializer for the data

serializersModule

the serializers module

className

the CSS class name

id

the ID attribute of the component

content

the content of the component


@Composable
fun IComponent.tabulatorRef(data: List<JsAny>? = null, options: TabulatorOptions<JsAny> = TabulatorOptions(), types: Set<TableType> = setOf(), className: String? = null, id: String? = null, content: @Composable ITabulator<JsAny>.() -> Unit = {}): Tabulator<JsAny>

Create Tabulator component with a dynamic data model.

Return

the Tabulator component

Parameters

data

the tabulator data

options

the tabulator options

types

the set of table types

className

the CSS class name

id

the ID attribute of the component

content

the content of the component