I have a RadGrid that I am using in a web application for a client. The issue I am facing presently is that when the horizontal scrolling reaches the last column on the right of the grid, all of the cells in the grid resize (growing in both width and height). I have some screen shots hosted here:
1) Far Left
2) Second to Last Column
3) Last Column (every cell resizes)
I have specified the following settings when I bind my data source in the code behind:
And in my ColumnCreated event I have the following code:
Also, I have overridden the scroll bar's CSS such that:
However this behavior is observed with and without this.
How can I resolve the cell resizing behavior that I am seeing?
1) Far Left
2) Second to Last Column
3) Last Column (every cell resizes)
I have specified the following settings when I bind my data source in the code behind:
AutoGenerateColumns = true;
ClientSettings.Scrolling.AllowScroll = true;
ClientSettings.Scrolling.SaveScrollPosition = true;
ClientSettings.Scrolling.FrozenColumnsCount = 5;
ClientSettings.Scrolling.UseStaticHeaders = true;
Width = Unit.Pixel(1200);
MasterTableView.TableLayout = GridTableLayout.Fixed;
And in my ColumnCreated event I have the following code:
if (e.Column.UniqueName == "ID")
e.Column.Display = false;
e.Column.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
e.Column.HeaderStyle.Width = Unit.Pixel(40);
if (e.Column.UniqueName == "Process")
e.Column.HeaderStyle.Width = Unit.Pixel(100);
if (e.Column.UniqueName == "Act/Dept")
e.Column.HeaderStyle.Width = Unit.Pixel(300);
if (e.Column.UniqueName == "Visit")
e.Column.HeaderStyle.Width = Unit.Pixel(80);
Also, I have overridden the scroll bar's CSS such that:
margin-right: 0px !important;
However this behavior is observed with and without this.
How can I resolve the cell resizing behavior that I am seeing?