StylishDataTableQuery

data class StylishDataTableQuery(val filter: String = "", val page: Int = 1, val pageSize: Int = 25, val sort: List<StylishDataTableSortState> = emptyList(), val visibleColumnIds: List<String> = emptyList(), val columnOrder: List<String> = emptyList())

Serializable-agnostic query state for server-backed tables.

The model intentionally contains only primitives and the library's sort state, so an application can map it to REST, GraphQL, SQL, or a local cache without coupling the UI to a transport library.

Constructors

Link copied to clipboard
constructor(filter: String = "", page: Int = 1, pageSize: Int = 25, sort: List<StylishDataTableSortState> = emptyList(), visibleColumnIds: List<String> = emptyList(), columnOrder: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val page: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard