Datatable columns with boolean values.
How to sort this in a correct manner cause all row values are json objects
Thank you
Michael
Datatable columns with boolean values.
How to sort this in a correct manner cause all row values are json objects
Thank you
Michael
Hello Michael,
To sort boolean values you can use sorting by click on the header with the custom sorting function. You need to define the function with the custom sorting behavior you want and set this function to the sort attribute.
Also you can sort boolean data programmatically using sort function.
And one more way to sort boolean values is to add custom sorting type via the sorting.as property of the webix.DataStore.prototype object.
Please take a look at the example: Code Snippet
If this solutions doesn’t solve your problem, please, provide your example and give the details of the problem.
Thank you Natalia.
Happy new year 2025. I’ve got it…