Hi
I wanted to have atlest 5-6 coulumns under one heading in a grid.I saw the code which was posted in the below link
http://www.telerik.com/community/code-library/aspnet-ajax/grid/individual-filtering-and-sorting-for-sub-columns-in-template-column.aspx
Now the problem what i am facing is ,when the data is very long, the complete column in the grid gets de-align ..I tried even fixing the size still the same result,
Even in the code which was posted in the thread ,when i change the data its the same issue.
Is there any other method other than GridTemplateColumn to implement it.
This is the same code which i got from that thread,i have highlighted the thing i have changed.
<radG:RadGrid ID="RadGrid1" AllowPaging="True" AutoGenerateColumns="False" AllowFilteringByColumn="True"
runat="server" Width="200px" Skin="Glassy">
<MasterTableView Width="100%">
<Columns>
<custom:MyCustomFilteringColumn datafield1="Country" datafield2="City" headertext="Country/City"
uniquename="MyCustomTemplateColumn" HeaderStyle-VerticalAlign="Middle">
<headertemplate>
<table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="1">
<tr>
<td colspan="2" align="center"><b>Address</b></td>
</tr>
<tr>
<td style="width:50%">
<asp:LinkButton id="btnSortByCountry" Text="Country" Tooltip="Sort by Country" CommandName='Sort'
CommandArgument='Country' runat="server" Width="100%" /></td>
<td style="width:50%">
<asp:LinkButton id="btnSortByCity" Text="City" ToolTip="Sort by City" CommandName='Sort' CommandArgument='City'
runat="server" Width="100%" /></td>
</tr>
</table>
</headertemplate>
<itemtemplate>
<table id="Table2" cellspacing="1" cellpadding="1" width="100%" border="1">
<tr>
<td style="width:50%">RandomValuuesWithOutSpace</td>
<td style="width:50%"><%# Eval("City") %></td>
</tr>
</table>
</itemtemplate>
</custom:MyCustomFilteringColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages" />
</radG:RadGrid>
I wanted to have atlest 5-6 coulumns under one heading in a grid.I saw the code which was posted in the below link
http://www.telerik.com/community/code-library/aspnet-ajax/grid/individual-filtering-and-sorting-for-sub-columns-in-template-column.aspx
Now the problem what i am facing is ,when the data is very long, the complete column in the grid gets de-align ..I tried even fixing the size still the same result,
Even in the code which was posted in the thread ,when i change the data its the same issue.
Is there any other method other than GridTemplateColumn to implement it.
This is the same code which i got from that thread,i have highlighted the thing i have changed.
<radG:RadGrid ID="RadGrid1" AllowPaging="True" AutoGenerateColumns="False" AllowFilteringByColumn="True"
runat="server" Width="200px" Skin="Glassy">
<MasterTableView Width="100%">
<Columns>
<custom:MyCustomFilteringColumn datafield1="Country" datafield2="City" headertext="Country/City"
uniquename="MyCustomTemplateColumn" HeaderStyle-VerticalAlign="Middle">
<headertemplate>
<table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="1">
<tr>
<td colspan="2" align="center"><b>Address</b></td>
</tr>
<tr>
<td style="width:50%">
<asp:LinkButton id="btnSortByCountry" Text="Country" Tooltip="Sort by Country" CommandName='Sort'
CommandArgument='Country' runat="server" Width="100%" /></td>
<td style="width:50%">
<asp:LinkButton id="btnSortByCity" Text="City" ToolTip="Sort by City" CommandName='Sort' CommandArgument='City'
runat="server" Width="100%" /></td>
</tr>
</table>
</headertemplate>
<itemtemplate>
<table id="Table2" cellspacing="1" cellpadding="1" width="100%" border="1">
<tr>
<td style="width:50%">RandomValuuesWithOutSpace</td>
<td style="width:50%"><%# Eval("City") %></td>
</tr>
</table>
</itemtemplate>
</custom:MyCustomFilteringColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages" />
</radG:RadGrid>