Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mongkol Jitprasit on Jul 01, 2008 18:25
open dhtmlx forum
I want to know more detail about grid ?

I have 2 Question.
1) When I use toolbar for Paginal Output, I can set style of toolbar Yes or No ? ( if yes please tell me. )
2) On Grid I can show automatic num row same in excel will A,B,C,.. be header and 1,2,3,... be num row, I can show same that?
Answer posted by Support on Jul 02, 2008 02:04
>>1) When I use toolbar for Paginal Output, I can set style of toolbar Yes or No ? ( if yes please tell me. )
The styles of toolbar defined in dhtmlxtoolbar.css, you can adjust any necessary style there.
The toolbar object accessible as
    grid.aToolBar
this is instance of dhtmlxToolbar component , so  you can use its API to customize look|behaviors

>>2) On Grid I can show automatic num row same in excel will A,B,C,.. be header and 1,2,3,... be num row, I can show same that?
The count of columns and their labels defined by js command
    grid.setHeader(....
so you can define as many columns as necessary during initialization.
There is a special column type - counter , which can be used to show row numbers
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_excell_cntr.html?un=1214990588000