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

HeaderContext Hide Show Columns Problem

5 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 03 Apr 2010, 02:02 PM
Hi there,

We have a grid that uses resize= true and context menu = true
The problem is that when hide columns and resize the column the column goes wild.. i mean if we go to the left, its column goes to the right and vice versa......

I found out the hiding columns can ruin your grid resizing property...

Is there a workaround to make it work... I would like to hide and show columns in my grid and i can resize my grid column at the same time

Thanks,

5 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Apr 2010, 09:42 AM
Hello Erwin,

I am afraid that I am not able to replicate described behavior of RadGrid. Can you provide exact steps to replicate it following online demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx

All the best,
Nikolay
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.
0
Erwin
Top achievements
Rank 1
answered on 12 Apr 2010, 12:31 PM
Thank you...

Here is the steps to replecate the problem.

1. Make a RadGrid
2. Enable Header Context Menu http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextmenu/defaultcs.aspx

3. Enable Resizing  http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx
4. Add at least 6 columns

Try Resizing the Grid Columns.(this works fine)

Try hiding the first column then try to resize(does not work well)

Try hiding other columns then resize..

The steps above replicates my senario..
0
Nikolay Rusev
Telerik team
answered on 15 Apr 2010, 01:26 PM
Hello Erwin,

If you are talking about the space that remains on the right of RadGrid when hiding column, this is know and unfortunately is due to IE browser behavior.
For your convenience I've added sample project demonstrating RadGrid resizing + show/hide columns.

All the best,
Nikolay
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.
0
Erwin
Top achievements
Rank 1
answered on 16 Apr 2010, 06:29 AM
Thank you for the sample

I had 2 problems with this sample

First, the Grid Resize Does not work
Sencond, If I apply a skin=WevBlue for the grid, the column names in the headercontext menu desapears(only shows the textbox)
0
Nikolay Rusev
Telerik team
answered on 21 Apr 2010, 11:05 AM
Hello Erwin,

For your convenience I've prepared video demonstrating RadGrid with Skin set to WebBlue and all seems to be working properly.
Resizing resizes RadGrid columns, HeaderContextMenu checkboxes are shown for all columns.

Please find the attachment.

Regards,
Nikolay
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
Erwin
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Erwin
Top achievements
Rank 1
Share this question
or