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

radgrid content

2 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
shiva
Top achievements
Rank 1
shiva asked on 24 Jul 2010, 12:00 PM
Hi,
when i am using the radgrid,
the total data is displaying in each cell.
My intention is to "compress the content of cell to specific no.of characters,
and when i am resizing the column it has to display the total content."
so it will be good for look and feel.
Suggest me in this whether is there any built in function or any thing.
Thanks.


2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Jul 2010, 10:49 AM
Hello Shiva,


Initially you can set the width of columns as per requirement using HeaderStyle -> Width property. And set the   "ClientSettings  ->  Resizing   ->   AllowColumnResize" property to resize the column.

ASPX:
                   . . .
            <telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City"
                UniqueName="City">
                <HeaderStyle Width="50" />
            </telerik:GridBoundColumn>          
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Resizing AllowColumnResize="true" />
    </ClientSettings>
</telerik:RadGrid>


-Shinu.
0
shiva
Top achievements
Rank 1
answered on 27 Jul 2010, 12:26 PM
hi,
i know this
for ex:cell text="For code snippets use 'Format Code Block' For code snippets use"
while executing it has to display like cell text="For code snippets..."
and when i am resizing,according to the width cell text="For code snippets use 'Format Code Block' For code snippets use"
has to display.
thank u.
Tags
Grid
Asked by
shiva
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
shiva
Top achievements
Rank 1
Share this question
or