Locking column headers on scroll

Hi,
I'm trying to lock my column headers so that only the records scroll. Has anybody worked out how to do this in the Windows Grid Grouping control?

There is no equivalent to the GridGroupingControl.FrozenRows Property from the ASP.NET equivalent control.

Thanks
Paul

5 Replies

RA Rajagopal Syncfusion Team June 13, 2007 06:16 PM UTC

Hi Paul,

When you have only the default column headers(row 0) you wont able to scroll the header row, but if you have more than one header rows, then you will be to scroll the header rows also. The GridGroupingControl currently has no support for freezing rows. There is no easy way to get this working at the moment. Sorry for the inconvenience.

Thanks,
Rajagopal


PS Paul Sullivan June 20, 2007 02:20 PM UTC

Hi,
So, are you saying that if I only have the 1 (default) header row it will automatically freeze it? Maybe that will solve the problem, but I have an additional problem in that I get a "caption" telling me how many items are in the grid even though I think I have set all the caption properties to false.
The attached bmp shows my grid in run mode and the design time properties.
Can you tell me how to remove the "Table: 2 Items" caption?


GridProperties.zip


RA Rajagopal Syncfusion Team June 20, 2007 06:19 PM UTC

Hi Paul,

I dont see this issue here in any of our samples. Setting the below properties will not allow you to show the caption row in the GridGroupingControl.

this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;
this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false;
this.gridGroupingControl1.ChildGroupOptions.ShowCaption = false;

Please try the above property settings and let me know if this helps.

Regards,
Rajagopal


PS Paul Sullivan June 21, 2007 10:27 AM UTC

Thanks Rajagopal, that looks to have fixed the problem!
Paul


PS Paul Sullivan June 21, 2007 12:38 PM UTC

Sorry it removes the caption but does not freeze the first (header) row. Is it supposed to?

Loader.
Up arrow icon