Display Records as columns or Header Columns orientation on

I need to display all the Column headers on the left side of the table.

All the rows should appear as a column.



how can i do that. Please help?





Thanks


Hello,


text align in the header cells depends on the chosen skin. But you can redefine it in the 3rd paramter of the setHeader method:


var headerStyle = [“text-align:left”,“text-align:left”,“text-align:left”];
grid.setHeader(“Column1,Column2,Column3”,",",headerStyle);



Grid can’t just rotate itself, but you can use per-cell typing and custom styles for the cells to achieve the necessary effect.
dhtmlx.com/docs/products/dht … xcell.html

I am trying to get a record of 37 columns and display all the record values and column header… Displaying them in a columns as displayed in this link dhtmlx.com/docs/products/dht … bsp;  A column should contain a record from database(or data from the XML file)…

is there a way?

The existing server side code can’t be used for such task, so you will need to create a custom solution.
Technically it possible to form necessary xml data on server side to show grid as you want.