I have table table with two columns. One column is a checkbox and the other one contains data for user selection using the checkbox. I need to make the checkbox invisible for certain rows meeting the criteria of the next data column.
For example (in pseudo code): if (column2 value > 100) then checkbox != visible else checkbox = visible;
Thanks
Hi
The code works. I have tried the snippet in the project and the check boxes are not visible when the condition is met. However, all the check boxes are unchecked when loaded even though value of 1 has been set. The same happens even if the table is scrolled after the user has checked some rows.
All templates in webix components have 2 parameters - object and helpers.
Unfortunately in case of datatable, this is not enough - template function has 5 parameters ( object, helper, value, column configuration, row index )
I think we will improve this case in next builds. Will change default helpers, so they will be able to work with only two parameters, as other templates, and will update the related documentation as well.