@zzhang
about add css for cells,I wonder which way is best
It depends on whether the number of rows / columns will change. If the number does not change use first variant, otherwise second.
or could I add className for cells? then i can add whatever styles I need
You can use datatable addCellCss()
method.
about conditional background color
in this demo, the background color should be blue
There are conflicting conditions in this example (>1, >5, >10). Therefore, the last matching is used (10 > 5).
Check the improved example: https://snippet.webix.com/wl5dqnyu
And why doesn’t support ‘>=’ or ‘<=’ ,it is troublesome to add twice.
Thanks for the suggestion, we will consider adding these parameters.