This is a migrated thread and some comments may be shown as answers.

Collapsed group wraps text

3 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 07 Nov 2008, 06:13 PM
I cannot keep the text from wrapping when a group is collapsed. As I open the 2 groups the text expands in the first group and as I close the groups it starts to wrap.
I have searched and tried everything I could think of but to no avail.
I am sure it is something simple.

Below is the code from the grouping portion of the grid markup:
<GroupByExpressions>
<radG:GridGroupByExpression>
<SelectFields>
<radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" HeaderText=" " HeaderValueSeparator="" />
</SelectFields>
<GroupByFields>
<radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" FormatString="" />
</GroupByFields>
</radG:GridGroupByExpression>
<radG:GridGroupByExpression>
<SelectFields>
<radG:GridGroupByField FieldAlias="Slotname" FieldName="SlotName" HeaderText=" " HeaderValueSeparator="" />
</SelectFields>
<GroupByFields>
<radG:GridGroupByField FieldAlias="Slotnumber" FieldName="Slotnumber" FormatString="" />
</GroupByFields>
</radG:GridGroupByExpression>
</GroupByExpressions>
<GroupHeaderItemStyle Wrap="False" />

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 11 Nov 2008, 07:32 AM
Hi Michael,

Can you reproduce this behavior in one of our online examples? What is the column setup that you have at your end?

Regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 11 Nov 2008, 05:35 PM
One other piece of data, I am running IE 6, In firefox it displays correctly.
Your online demos display correctly.

Here is the full grig  markup:
        <radG:RadGrid ID="grdContracts" runat="server" CssClass="dg"
            DataSourceID="sdsContracts" GridLines="None" AutoGenerateColumns="False" EnableAJAX="True" >
            <MasterTableView DataSourceID="sdsContracts" GroupsDefaultExpanded="False">
                <NoRecordsTemplate>
                    <asp:Label ID="Label4" runat="server" Text="No Active Contracts for this advertiser" ForeColor="Red" />
                </NoRecordsTemplate>
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="False">
                    <HeaderStyle Width="19px" />
                </ExpandCollapseColumn>
                <Columns>
                     <radG:GridBoundColumn DataField="Daypart" HeaderText="Day Part" SortExpression="Daypart"
                        UniqueName="Daypart">
                    </radG:GridBoundColumn>
                   <radG:GridBoundColumn DataField="BeginDt" HeaderText="Begin Date" SortExpression="BeginDt"
                        UniqueName="BeginDt" DataType="System.DateTime"
                        DataFormatString="{0:MM/dd/yy}">
                    </radG:GridBoundColumn>
                    <radG:GridBoundColumn DataField="EndDt" HeaderText="End Date" SortExpression="EndDt"
                        UniqueName="EndDt" DataType="System.DateTime"
                        DataFormatString="{0:MM/dd/yy}">
                    </radG:GridBoundColumn>
                </Columns>
                <GroupByExpressions>
                    <radG:GridGroupByExpression>
                    <SelectFields>
                            <radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" HeaderText=" " HeaderValueSeparator="" />
                    </SelectFields>
                        <GroupByFields>
                            <radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" FormatString="" />
                        </GroupByFields>
                    </radG:GridGroupByExpression>
                    <radG:GridGroupByExpression>
                    <SelectFields>
                            <radG:GridGroupByField FieldAlias="Slotname" FieldName="SlotName" HeaderText=" " HeaderValueSeparator=""  />
                    </SelectFields>
                        <GroupByFields>
                            <radG:GridGroupByField FieldAlias="Slotnumber" FieldName="Slotnumber" FormatString="" />
                        </GroupByFields>
                    </radG:GridGroupByExpression>
                </GroupByExpressions>
                <GroupHeaderItemStyle Wrap="False" />
            </MasterTableView>
            <PagerStyle BackColor="#404040" ForeColor="White" />
            <ClientSettings AllowDragToGroup="True" >
                <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="200px" />
            </ClientSettings>
        </radG:RadGrid>
0
Yavor
Telerik team
answered on 12 Nov 2008, 07:49 AM
Hi Michael,

If the online demo is running correctly at your end, you can open a formal support ticket, and send us a small working sample, demonstrating the issue. We will test it locally, and furnish additional information.

All the best,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Michael
Top achievements
Rank 1
Share this question
or