This question is locked. New answers and comments are not allowed.
Hello Telerik Team,
I'm using a TreeListView (internal build v.2011.3.1406.1040) with column headers. When the user is scrolling (horizontally), the column headers are not synchronized with the columns of the grid. Note that clicking on the scrollbar arrow buttons (left or right) works as expected.
For information, I have three frozen columns, and the others are created dynamically. Here is a part of the code I use to create the columns and the headers.
As attachment to this message, you will find a small screen shot of the problem...
Thanks in advance for a response !
Greetings,
Nicolas
I'm using a TreeListView (internal build v.2011.3.1406.1040) with column headers. When the user is scrolling (horizontally), the column headers are not synchronized with the columns of the grid. Note that clicking on the scrollbar arrow buttons (left or right) works as expected.
For information, I have three frozen columns, and the others are created dynamically. Here is a part of the code I use to create the columns and the headers.
int counter = 0;DataTemplate template = this.Resources["monthCalendar"] as DataTemplate;// Group by weeks in monthsIEnumerable<IGrouping<string, Week>> months = this.Period.Weeks.GroupBy(w => w.FirstDateOfWeek.ToString("MM.yyyy"));foreach (IGrouping<string, Week> month in months){ foreach (Week week in month) { GridViewColumn column = this.CreateColumn(week, month.Key, counter, "Days"); this._dynamicColumns.Add(column); this.treeListView.Columns.Add(column); counter++; } Period monthPeriod = new Period(month.ToList()) { OfficialHolidays = this.Period.OfficialHolidays }; GridViewColumnGroup calendarGroup = new GridViewColumnGroup { Name = month.Key, Header = monthPeriod, HeaderTemplate = template }; this.treeListView.ColumnGroups.Add(calendarGroup);}As attachment to this message, you will find a small screen shot of the problem...
Thanks in advance for a response !
Greetings,
Nicolas