dhtmlxGrid setRowTextBold

hi,

After loading data into the grid, when user select any row from the grid before perform the operation, i want to make that row to bold not in XML level, using setRowTextBold method how can i do that and what are the necessary JS files are required.

mygrid.setRowTextBold(4);

is not working for me.




You should call this method after grid was fully loaded:


mygrid.loadXML(“grid.xml”,function(){


mygrid.setRowTextBold(row_id);//parameter of that method - row ID, not row index.


});


To get ID of a selected row you can use:


row_id=getSelectedRowId();