tabulatorRemoteRef

@Composable
inline fun <T : Any, E : Any> IComponent.tabulatorRemoteRef(serviceManager: RpcServiceMgr<E>, noinline function: suspend E.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, noinline stateFunction: () -> String? = null, noinline requestFilter: suspend RequestInit.() -> Unit? = null, 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 = {}): TabulatorRemote<T>

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

Return

the TabulatorRemote component

Parameters

serviceManager

RPC service manager

function

RPC service method returning the tabulator data

stateFunction

a function to generate the state object passed with the remote request

requestFilter

a request filtering function

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