Please help! I have got a grid with two bands. When I click to expand a row the first time, the grid looks fine. Then when I click a second row to expand that row, it shows the vertical scroll bars and automatically scrolls all the way to the right. It doesn't matter which rows I click, it is always the second expansion that causes the scroll bar to appear.
ugPatients.DisplayLayout.Bands[0].Columns.FromKey("ColumnName").Width = System.Web.UI.WebControls.Unit.Percentage(10);)
and all the percentages for each band adds up to 100 percent. I tried having the percentage equal 80 and smaller, but this didn't help either. There is no reason why the vertical scrollbar should show. I have turned off the vertical scrollbar, but since it automatically scrolls to the right when expanding, it hides my plus signs that lets the user expand the row. Without the scroll bar at that point, a user can't expand the row since they can't scroll back to the beginning of the row.
This is driving me crazy!!! Any help is appreciated.
TIA,Rosemary
Have you set your Grid.DisplayLayout.ScrollBar = ScrollBar.Never ?
It has been a while...but I wanted to update on this issue. First to answer your question:
I did set it to never, which meant that when the expansion should have taken place and it didn't, it would cut off the left edge and I couldn't see or reach the parent row expansion node any longer.