I want to make use of the new Item template feature side the default skin to be able to add new custom header rows to the grid. This is what i have done. I have a label which takes the width of the grid and this is only shown when i want to insert my custom header.(i.e. it is set so visible = false but in the item bound event i sent it to visible depending on some row condition). I've then used a table to try and recreate the standard grid structure so that the grid rows match the columns on the header rows
<telerik:RadGrid ID="RadGrid1" runat="server" width="400">
<MasterTableView width="400" AutoGenerateColumns="false">
<Columns>
<telerik:GridBoundColumn HeaderText="ID" DataField="ID" >
<ItemStyle width="200"/></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Test" DataField="JourneyNo" >
<ItemStyle width="200"/></telerik:GridBoundColumn>
</Columns>
<
ItemTemplate>
<
asp:label id="header" visible="false" runat="server" style="display:block"/>
<
table>
<
tr>
<
td><asp:label id="column1" runat="server" Width="200"/></td>
<
td><asp:label id="column2" runat="server" Width="200"/></td>
<
tr>
</
table>
</
ItemTemplate>
</
MasterTableView>
</telerik:RadGrid>
I'm having problems with the visual appearance. Firstly there are grey lines in the rows i think because i am using tables and secondly I can't get the 'columns' in the item template to line up with columns in the header
Please can you advise how I can sort out the appearance
thanks
