Header in dhtmlx grid

Hi,

i m using dhtmlx grid enterprise version in split mode.Following are my queries. .

1.I need set header column text vertical.Is it possible? .Can i use div in header column as we can use it in cell?.

2.How to change background color of cell?

3.How to set height of row in grid?

Plz reply asap.

Thanks

Pravin

NIS Team

1.I need set header column text vertical.Is it possible? .Can i use div in header column as we can use it in cell?.
You can use any HTML inside header, same as for grid cells.There is no cross-browser css rule to render text vertically, but you can use image with prerendered text.

>>2.How to change background color of cell?
You can define custom color from cell@style or cell@class attribute in XML, or set it by js code as
grid.setCellTextStyle(id,ind,“background-color:red;”)

>>3.How to set height of row in grid?
Can be set as part of row’s style
grid.setRowTextStyle(id,“height:30px;”)