kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / <init>

<init>

TabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())

Parameters

T - type of row data

E - type of service manager

serviceManager - multiplatform service manager

function - multiplatform service method returning tabulator rows data

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

options - tabulator options

types - a set of table types

classes - a set of CSS class names

Constructor