Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankit on Aug 10, 2009 05:23
open dhtmlx forum
calling setCellTextStyle() from java/xml

hi,

Iam using xml string for loading the grid.The xml string is formed in a java class.At several points while creating xml strng i hav to set the 

text style of cell .So hw can i  call  thisGrid.setCellTextStyle().......or is dere any alternative 2 do dis.

Any example wil help better 2 undrstnd.

Thnkx

Answer posted by Alex (support) on Aug 10, 2009 06:48
You can use style attribute of the cell tag, it will be equal to the above command call
     <cell style="font-weight:bold;"> data of cell </cell>