Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alie on Jul 15, 2009 03:18
open dhtmlx forum
Dynamic font Bold

I have 10 column dynamic grid with column name as ID.
if (gr.getUserData(rowId, "isDeleted") == "true" then only datas of column name" ID "should be bold all other columns to be normal.
else all column should be normal

How its possible in grid.can u help me to fix this issue
Answer posted by dhxSupport on Jul 15, 2009 04:08
dhtmxlGrid hasn't appropriate method to mark all column in bold. You can usesetCellTextStyle(row_id, ind, styleString) method to set necessary style to every cell from the column. Parameters here are:
row_id - row id
ind - cell index
styleString - style string in common format (ex: “color:red;border:1px solid gray;”)
Please make sure that necesary cell is loaded before calling this method.
Answer posted by Alie on Jul 15, 2009 04:44
   
  Thanks for your quick reply.