Row Selection Store
class RowSelectionStore<T, I>(rowIdProvider: (T) -> I) : RootStore<List<T>>
Content copied to clipboard
This store manages the selected rows of the data table. It does not manage the state of the columns (configuration meta data like sorting, order and so on); this is done by StateStore!
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)
Content copied to clipboard
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(execute: suspend (E) -> Unit): Job
Content copied to clipboard
open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)
Content copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
This handler can be used to preselect one single row for the initial rendering of the table. As the store is made to handle a List of rows as well as a single selection, we need this special Flow for preselecting a single row. For preselecting arbitrary rows, just stick to the default update handler!