- setDataLoader($receiver, dataLoader, idResolver) - Static method in class eu.vaadinonkotlin.vaadin10.sql2o.DataProvidersKt
-
Sets given data loader to this Grid, by the means of wrapping the data loader via DataLoaderAdapter and setting it
as a (configurable) Grid.getDataProvider.
- setDataLoader($receiver, dataLoader) - Static method in class eu.vaadinonkotlin.vaadin10.sql2o.DataProvidersKt
-
Sets given data loader to this Grid, by the means of wrapping the data loader via DataLoaderAdapter and setting it
as a (configurable) Grid.getDataProvider.
- sqlDataProvider(clazz, sql, params, idMapper) - Static method in class eu.vaadinonkotlin.vaadin10.sql2o.DataProvidersKt
-
Allows the coder to write any SQL he wishes. This provider must be simple enough to not to get in the way by smart (complex) Kotlin language features.
It should support any SQL select, but should allow for adding custom filters and orderings (since this is plugged into Grid after all).