Is there a way to set the row style for a single row?
I tried setRowTextStyle() but nothing happened. What I’d like is if the last
line of the table is a totals row to be able to draw a line above and
below or for the first row to have a line at the top to differentiate from the
header row.
You can specify additional css settings from init. xml
<row style=“border:1px solid red”
or
<row class=“a_class”
where a_class - is a css class name
setRowTextStyle must work as well, but it need to be
called after XML loaded
mygrid3.setOnLoadingEnd(function(){
mygrid.setRowTextStyle(2,“color:red;border:1px solid gray;”)
});
mygrid3.loadXML("…/grid.xml");