CSS Applied in Grid XML undone after sort or group functions

In the building of the XML to feed to the dataGrid, I assign a custom style to each row based on values I find in that particular row. When it first displays it is perfect. However, after sorting or grouping, the style is replaced with the even/odd styles again.



Normally, I could see this being a good idea if you always want even/odd row colors done automatically for you. However in this case that is not what I want.



Is there a way to supress this feature?

Actually this is a bug, the class defined in XML must be always assigned to the row in grid.
Issue already fixed in dev. version and fix will be released as part of oncoming build.
If you need the fix ASAP - please contact us directly at support@dhtmlx.com and provide your ref. number.