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

Grid Wrapping Problem

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brijendra Kumar
Top achievements
Rank 1
Brijendra Kumar asked on 10 Jan 2009, 10:48 AM
The problem in my rad grid is that, i have given item-Style-Wrap property as false i.e. i dont want wrapping of cell data in my grid, but still column is wrapping itself, the code is given below:-

 

<

telerik:RadGrid ID="rdgSuppliers" AllowMultiRowSelection="false" runat="server"

 

 

 

 

 

Skin="Outlook" Width="100%" PageSize="10" BorderStyle="None" AllowPaging="True"

 

 

 

 

 

AutoGenerateColumns="true" ItemStyle-Wrap="false" GridLines="None" OnItemCreated="rdgSuppliers_ItemCreated"

 

 

 

 

 

OnItemCommand="rdgSuppliers_ItemCommand">

 

 

 

 

 

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="true">

 

 

 

 

 

<ClientEvents OnRowDblClick="OpenSupplier" />

 

 

 

 

 

<Resizing AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="true"

 

 

 

 

 

AllowColumnResize="True"></Resizing>

 

 

 

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="True" />

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

<MasterTableView CommandItemDisplay="None" TableLayout="Fixed" ClientDataKeyNames="ID"

 

 

 

 

 

ItemStyle-Wrap="false" AutoGenerateColumns="true" DataKeyNames="ID" Width="100%">

 

 

 

 

 

<PagerStyle Wrap="false" Mode="NextPrevAndNumeric" PrevPageImageUrl="Images/arrowLeft.gif"

 

 

 

 

 

NextPageImageUrl="Images/arrowRight.gif" NextPageText="Next" PrevPageText="Prev"

 

 

 

 

 

AlwaysVisible="true" />

 

 

 

 

 

<Columns>

 

 

 

 

 

</Columns>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

</telerik:RadGrid>

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Jan 2009, 12:53 PM
Hello Brijendra,

Please take a look at the following link:
No wrap for grid cell content

Let us know if you have more questions.

Best regards,
Daniel
the Telerik team

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