Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aioanei roxana on Jul 07, 2008 06:09
open dhtmlx forum
Hello! The first column in my grid should be header too.

Hello! The first column in my grid should be header too. How can I do this? The grid has already a header.
TIA
Answer posted by Support on Jul 07, 2008 07:20
You can't have a vertical header in grid, but you can mark visually data in first column so it will look as header

<style>
    .myHeader{
       background-color: #D4D0C8 !important;
    }
</style>

in XML
<row id="some">
    <cell class="myHeader">header</cell>
    <cell>data</cell>
    <cell>data</cell>
    <cell>data</cell>
</row>

Also you can use splitAt functionality ( pro version only ) to make first column independet from horizontal scroll.
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/frozen_columns/pro_grid_split.html?un=1215441501000