I have a pretty simple grid that I want the users to be able to expand the row for more information. The issue I am having is that the default ExpandCollapseColumn the grid drops in is something like 100px wide (maybe wider) and shows images of both a right-pointing icon and a left-pointing icon (e.g. " > < ").
The following is my grid declaration:
<telerik:RadGrid runat="server" ID="grdResults" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" OnNeedDataSource="grdResults_NeedDataSource" >
<MasterTableView DataKeyNames="ClaimId" CommandItemDisplay="None" PageSize="50" Width="100%" HierarchyLoadMode="ServerOnDemand">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" Position="Bottom" />
<Columns>
<telerik:GridBoundColumn UniqueName="claimIdColumn" DataField="ClaimId" HeaderText="" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="policyIdColumn" DataField="PolicyId" HeaderText="" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="carrierIdColumn" DataField="CarrierId" HeaderText="" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="fileNumberColumn" DataField="FileNumber" HeaderText="File Number"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="carrierNameColumn" DataField="CarrierFormattedName" HeaderText="Carrier Name"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="carrierPolicyNumberColumn" DataField="PolicyNumber" HeaderText="Policy Number"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="carrierClaimNumberColumn" DataField="ClaimNumber" HeaderText="Claim Number"></telerik:GridBoundColumn>
<telerik:GridDateTimeColumn UniqueName="lossDateColumn" DataField="LossDate" HeaderText="Date of Loss" DataFormatString="{0:M/d/yyyy}"></telerik:GridDateTimeColumn>
<telerik:GridBoundColumn UniqueName="insuredNameColumn" DataField="PolicyHolderDisplayName" HeaderText="Insured Name"></telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="lossCityStateColumn" HeaderText="Loss Location" SortExpression="Location">
<ItemTemplate>
<%# Eval("LossCity") %>, <%# Eval("LossState") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn UniqueName="lossPostalColumn" DataField="LossPostal" HeaderText="Loss ZIP"></telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="lossCatNumber" DataField="CatNumber" HeaderText="CAT No."></telerik:GridBoundColumn>
</Columns>
<NestedViewSettings>
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="ClaimId" MasterKeyField="ClaimId" />
</ParentTableRelation>
</NestedViewSettings>
<NestedViewTemplate>
<asp:Panel runat="server" ID="pnlDetails" BackColor="Ivory" >
<fieldset style="padding:10px;">
Details will go here.
</fieldset>
</asp:Panel>
</NestedViewTemplate>
<NoRecordsTemplate>
No data found
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
Searched through the forum for answers and everything I have tried doesn't seem to work. There is one thread that suggests setting the MasterTableView-ExpandCollapseColumn-HeaderStyle-Width in the grid declaration but that was unsuccessful. In addition, there were various suggestions of changing the width on OnColumnCreated event but that too did not work.
I have the 2011 Q1 Release of the tools and am running IE8 (both compatibility mode on and off). Any kind of help would be greatly appreciated.
~ Jon