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

Move Grid Column Header Text While Scrolling Horizontally

Hi,

I am using Syncfusion grid to show data to the user.
I have a many main columns and sub-columns under one main columns.
As I scroll horizontally through the columns I want the main column header text to be visible at all times till the last sub-column is shown when scolled horizontally in grid.
Right now the text disappears once I scroll.

Please refer the document attached for the scren shots.

Regards,
Gautham



Grid Screen Shots_93b5ef1a.zip

1 Reply

MC Mercy C Syncfusion Team April 16, 2012 01:26 PM UTC

Hi Gautham,

Thanks for your interest in syncfusion products.

When cells are covered, they will be treated as a single cell. We donot have support to move the coverered cells text as we scroll horizontally but you can align the covered ranges text in the cell.

this.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(1, 1, 3, this.gridControl1.ColCount));
GridStyleInfo style = this.gridControl1[1, 1];
style.Text = "Column Headers";
style.HorizontalAlignment = GridHorizontalAlignment.Center;


Please let me know if you have any concerns.

Regards,
Mercy.C


Loader.
Live Chat Icon For mobile
Up arrow icon