Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
UltraWebGrid Header/ DataRow Overlap when locking columns
posted

Hi,

I'm currently develop a report using UltraWebGrid. And I wanted to lock the columns like Excel did. I have succesfully lock the columns and upload my coding into server to run it. But weird thing happen, when under my debug mode using VS2005 the locking columns working well.. But when come to other Client want to access the report, it become overlap for the header and the datarow when scrolling to the from left to right..

Is this anything to do with the OS environment or my coding?

Here is my code:

 

 

 

 

 

 

 

 

 

 

 

  1. protected void UltraWebGrid1_InitializeLayout(object sender, LayoutEventArgs e)
  2. {
  3.     e.Layout.UseFixedHeaders = true;
  4.     for (int i = 0; i < 7; i++)
  5.     {
  6.      e.Layout.Bands[0].Columns[i].Header.Fixed = true;
  7.     }
  8.     e.Layout.StationaryMargins = StationaryMargins.Header;
  9. }

Please do help if you know. Is urgent. Thanks.

Parents Reply Children