Hello,
I have a WebDataGrid pulling auto generated columns base on the user selection. The user also ask for the first column to be locked all the time so column fixing behavior was implemented behind the code.
ColumnFixing behavior = this.WebDataGrid1.Behaviors.GetBehavior<ColumnFixing>(); if (behavior == null) { behavior = this.WebDataGrid1.Behaviors.CreateBehavior<ColumnFixing>(); } //Fixes the CustomerID column on the left behavior.FixedColumns.Add(new FixedColumnInfo("CustomerId", FixLocation.Left)); behavior.ShowFixButtons = false; behavior.AutoAdjustCells = true; behavior.ShowLeftSeparator = false; behavior.ShowRightSeparator = false;
Everything works normally until the user adjust the column header width, then we started to see the rows and columns not aligning properly. And when scrolling from left to right, the rows would scroll OR the column headers would scroll. Is there a fix for this? is this a bug? Please advise on a solution. Thanks!
Please let me know what is the progress of this issue and if you require further assistance.
I have the NetAdvantage 2012.2.
The properties ShowFixButtons and ShowLeftSeparator/ ShowRightSeparator set to false is fine, we want to just limit one column and that's it. Now correct me if I'm wrong, but I'm not sure if the question was understood properly. The user adjust the column width, they adjust the column width to be larger or smaller depending on their preference. Now without the column fixing behavior, when the user adjust the width of the column everything is fine, they could scroll and not have any issues. As soon as the behavior is implemented, scrolling horizontally would be fine but when the user adjust the column width then the column header and the rows that should be aligned to that header is off. I can't show you a screen shot of it a I'm working with sensitive data, but this is a proper representation of it http://i.stack.imgur.com/1m3xz.png
It would almost look like the styling of the rows and columns would be off or something...I'm not applying any styling to the grid itself. Please Advise.
There has being a similar issue find in Web.Nightly_12.1.20121.2156 and fixed in Web.Nightly_13.1.20131.118, Web.Nightly_12.2.20122.2086, Web.Nightly_12.1.20121.2189.
Please let me know if the issue is reproducible with 12.2.20122.2086 or above version.
In order to better assist you,
I have attached a code sample you could test and modify if needed, so I could test this with the same code as you are using, in the same environment as yours. (With the same product version and browser)
Also is this issues you are experiencing appearing in all major browsers or it is browser specific?
I am looking forward your feedback.