Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 03, 2008 12:49
open dhtmlx forum
DHX Grid: How to make column header text use stlye defined in my css file

Hi there,
I want to make column header text use stlye defined in my css file, How can i achieve this?
Answer posted by Support on Oct 06, 2008 05:38
You can use any custom tags in header, for example

grid.setHeader("<span class='myHeader'>Column A</span>,columnB");
Answer posted on Oct 06, 2008 16:02

Thanks It worked great! I have another question i want to get rid of leaf gif  image for a node  and replace with my own image, How can i achieve this?

 

Answer posted by Support on Oct 07, 2008 02:41
If you mean "tree" type cell, it can be done through image attribute of related cell.

<row id="some">
   <cell image="different.gif">Child item</cell>