rjaros / kvision

Object oriented web framework for Kotlin/JS
https://kvision.io
MIT License
1.2k stars 67 forks source link

! Fixed returning type of getSorters() function from Unit to Array<SorterFromTable> #445

Closed tfonrouge closed 1 year ago

tfonrouge commented 1 year ago

According to current Tabulator documentation:

table.getSorters();

"This will return an array of sort objects with three properties, column the column component for the sorted column, field a string of the field name for the sorted column, and dir a string of either "asc" or "desc" indicating the direction of sort."

Class SorterFromTable is already defined on KVision sources.

rjaros commented 1 year ago

Thanks!