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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Move Grid Column Header Text While Scrolling Horizontally

Thread ID:





103167 Apr 9,2012 06:21 AM UTC Apr 16,2012 01:26 PM UTC WinForms 1
Tags: GridControl
Gautham Prabhu
Asked On April 9, 2012 06:21 AM UTC


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.


Grid Screen Shots_93b5ef1a.zip

Mercy C [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon