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

column resize questions

2 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jack Altiere
Top achievements
Rank 1
Jack Altiere asked on 03 Jun 2010, 03:37 PM
I have a few questions about resizing columns in a radGrid.

1.  When I have EnableRealTimeResize=true set on my grid, a pop up appears saying the width in pixels of the column when it is being resized.  Ideally, I'd like to show this width as a % rather than a pixel width....is this possible?  If not, can I suppress this pop up?

2.  I need to change data in the grid when a column is resized.....what is the best way to go about this?  I don't see a server event that helps me.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Jack Altiere
Top achievements
Rank 1
answered on 03 Jun 2010, 03:40 PM
I'm guessing for my second question I need to use the client event for column resized and fire off an ajax request, let me know if there is another way.
0
Tsvetina
Telerik team
answered on 08 Jun 2010, 03:51 PM
Hi Jack,

You can use the ColumnResizeTooltipFormatString and DragToResize properties in grid ClientMessages section in order to remove/customize the tooltips shown while resizing. For example as below:

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="Vertical">
            <ClientSettings>
                <Resizing AllowColumnResize="true" EnableRealTimeResize="false" />
                <ClientMessages ColumnResizeTooltipFormatString = "" DragToResize="" />
            </ClientSettings>
</telerik:RadGrid>

This will remove all the tooltips.

In regard of your second question, yes, you need to use a client event in order to make the changes in your grid.

Greetings,
Tsvetina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Jack Altiere
Top achievements
Rank 1
Answers by
Jack Altiere
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or