I tried to style a row in a DataTable. As described in http://docs.webix.com/datatable__styling.html
I used the $change function. But it seems, the function is only called, when the table is configured with the autoConfig property. When I use an own column definition, the row won’t be styled.
I’ve created a snippets to show it.
http://webix.com/snippet/c41ac889
How can I style a row on a specific value of a property?
Does nobody knows an answer?
looks like a bug. as a workaround, set scheme and data after initialization
var table = $$(TABLE_ID);
table.data.scheme({
$init:...
$change:...
});
table.parse(data);
Hi,
It’s not a bug, but the clash of data mapping and scheme, as both features affect the data items. I suggest you replace map: "(date)#validFrom#"
to the corresponding data parser in $change
or $init
scheme keys: