We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Freeze Rows in GroupingGridControl

Hey there, 

How can I freeze rows in GroupingGridControl?

I have a grid that the first row must be visible all the time, so the scroll can't affect it. The behavior is the same of Excel's freeze functionality. Is there a way to do this?


3 Replies

MK Muthukumar Kalyanasundaram Syncfusion Team December 4, 2014 06:17 PM UTC

Hi Marcos,

 

Thank you for your interest in Syncfusion products.

 

Currently we don’t have a support for freeze the rows in GridGroupingControl but you can implement this scenario with Grid control. Please refer the below code.

 

Code:-

 

this.gridControl1.Rows.FrozenCount = 1;

 

Pease refer the below link.

 

Link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/frozenrowsandcolumns.htm

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K



ML Marcos Luis de Jesus Santos December 10, 2014 04:03 PM UTC

Alright.

But if do I want use the FreezeRow with the data binding functionality?

The Grid control supports only manual data feeding. Am I right?


MK Muthukumar Kalyanasundaram Syncfusion Team December 11, 2014 05:51 PM UTC

Hi Marcos,

 

Thanks for the update.

 

If you want to freeze the row with the data binding functionality in a gridcontrol, you can  populate the  data value and set the “FrozenCount” property to freeze the row. Please refer the below link,

 

Link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/frozenrowsandcolumns.htm

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K


Attachment: Grid_Population__freezerow_5a24c854.zip

Loader.
Live Chat Icon For mobile
Up arrow icon