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
1935
UltraGrid - UseFixedHeaders VS ExclusiveColScrollRegion - which to use
posted

Hi 

UltraGrid is indeed a very rich control, the "problem" is that when there is so much choices/ways to implement functionality then i get confused an not sure what to choose.

visually, i have something similar which can be found here at the  first post but with two bands (parent/child)

http://news.infragistics.com/forums/p/12212/50962.aspx

on the left side i want the colums to be fixed on both bands, on the right side where you can see the hours columns (which are available on both bands)  i want them to be scrollable horizontally on both bands

my question is what is the difference in using fixed columns with something like 

  •  ug.DisplayLayout.UseFixedHeaders = true;
  •  ug.DisplayLayout.Bands[0].Columns[0].Header.Fixed = true;
  •  ug.DisplayLayout.Bands[1].Columns[0].Header.Fixed = true;

or using ExclusiveColScrollRegion like 

 

ug.DisplayLayout.Bands[0].Columns[0].Header.ExclusiveColScrollRegion =      ug.DisplayLayout.ColScrollRegions[0];

 ug.DisplayLayout.Bands[1].Columns[0].Header.ExclusiveColScrollRegion = ug.DisplayLayout.ColScrollRegions[0];

 

would it be correct to say that the purpuse of using ExclusiveColScrollRegion is to be able to see two (or more) parts of the same table (maybe long table) at the same time ?

for example at this thread http://blogs.infragistics.com/forums/p/16384/59768.aspx  it was advised to use fixed columns instead of the ExclusiveColScrollRegion 

so what is the difference between both ?

Parents Reply Children
No Data