SelectionStrategy

interface SelectionStrategy<T, I>

This interface defines a strategy type in order to implement different selection mechanisms.

As we have identified already two different methods for selecting rows and provide default implementations for them, it is necessary to separate the implementation from the core data table component.

And of course we can use the strategy pattern, to provide the null object by NoSelection implementation, if the selection is disabled for the table.

Functions

Link copied to clipboard
abstract fun manageSelectionByExtraColumn(component: DataTableComponent<T, I>)
Link copied to clipboard
abstract fun manageSelectionByRowEvents(    component: DataTableComponent<T, I>,     rowStore: SubStore<List<T>, T>,     renderContext: Tr)

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard