Hi,
I have ultraGrid that is bind to a datasource dynamically.
It has got 3 bands.
I have set the indentation of second band to some value say 400 to align the columns with parent(First) band.
Now the problem i am facing is the vaccum space (equals to indentation setting ) gets blank while scrolling the ultrgrid. That means when i scroll the ultrgrid the columns in first/parent band moves towards left as i move the scrollbar to right which is fine.
Problem area is while moving the scrollbar towards right, the band for which indentation is set also moves left but maintains the blank space equal to indentation and columns of that band disappears in the line where indentation got started.
I just want move the columns of second band just like the first band by preventing that blank space towards left.
Please help!!!. I really need that solution.
Regards
Sanjiv:-(
Hi Mike,
Thank you so much for help!
That was really needed. Setting the above mentioned property to false solved my problem.
Regards,
Sanjiv
Hi Sanjiv,
I could not open the images you attached here. They have a file extension of ".jpg", but they are not valid jpg files.
But I think I see what you mean when you set the Indentation on the band in the sample and also uncheck SingleBand so that the child band displays.
The behavior you see here is a result of the UseFixedHeaders property. Since the Row Selectors are fixed, the Indentation of the band is fixed, too.Setting UseFixedHeaders to false will allow you to scroll everything.
I have Infragistics winforms samples installed on my machine through NetAdvantage_WinForms_Samples_20091.exe
I have also reproduced the indentation issue in a particulat sample of ultragrid by changing the indentation of second band.
The concerned sample is in Grid -> Wingrid -> Samples Explorer -> V5.2 Fixed Rows Feature
In above sample, I have just added one line of code i.e e.Layout.Bands[1].Indentation = 500; in UltraGrid1_InitializeLayout
This way i have reproduced this issue.
Regards,Sanjiv
Please do find the attached zip file having jpg (screenshot) files describing the scenario.
I'm afraid I do not understand the problem. Could you explain in more detail what you mean?
Perhaps you could post a small sample project or some screen shots to make it clearer.