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

HeaderContextMenu column select size

3 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mabs
Top achievements
Rank 1
mabs asked on 23 Feb 2011, 07:17 PM
I am currently using the HeaderContextMenu, I have an issue where I have alot of columns which are shown in the column list.  I want to fix the height of this container and provide a scroll.  However I am unable to do this.  I have set

RadGrid1.HeaderContextMenu.Height = Unit.Pixel(50)

and

<HeaderContextMenu EnableAutoScroll="true" ></HeaderContextMenu>   

However the size is ignored.  Any help on this would be much appreciated.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Feb 2011, 06:35 AM
Hello Mabs,

You can change height of HeaderContextMenu by setting height into DefaultGroupSettings.

 RadGrid1.HeaderContextMenu.DefaultGroupSettings.Height = Unit.Pixel(200);

Thanks,
Princy.
0
mabs
Top achievements
Rank 1
answered on 24 Feb 2011, 10:53 AM
Thank you, works very well.  I do have a small issue though.  The sub menu that appears when you hover over columns displays correctly, however when you place your mouse over the scroll arrow, after 1 second (approx) the menu will disapear.  Any ideas what would cause this?
0
Pavlina
Telerik team
answered on 02 Mar 2011, 11:40 AM
Hello,

I tried to reproduce this issue but to no avail. Could you please send us a live url or sample code so we to be able to observe it? Thanks.

Regards,
Pavlina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
mabs
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
mabs
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or