I have a grid that only displays a single card row at a time. When the user clicks on a parent cell, the corresponding card row for that cell becomes visible below it. When the user clicks on another cell, the first card row hides and the card row corresponding to the new cell becomes visible.
I need the parent cell that corresponds with the card row to be the active row/cell, but I also need the card row to be visible to the user. The problem I'm having is, if the card row is located near the bottom of the grid, only the top of the card row is visible when the grid loads, forcing the user to scroll to see the information.
I've tried using
ugStepInfo.Rows.ScrollCardIntoView(ugStepInfo.Rows.FirstVisibleCardRow)
but it doesn't seem to do the trick.
Hi Amber,
I'm afraid I don't understand. Clicking into a cell in the parent row should not have any effect on the scrolling of the cards - unless you mean that the whole grid is scrolling horizontally in order to keep the current ActiveCell in view.
Maybe you could post a sample or some screen shots so I can better understand what's happening.
Here's an example. When this grid loads, I'm setting the active cell to $7,875.00 and then using the scroll code:
Since the card row is near the bottom of the grid, only the top is showing. I only have one set of child bands showing at a time in card view (looks like one row to the user), and the row in my screenshot is the only visible card row on the entire grid.
How can I get the entire card row to show when the grid loads? It displays fine once the user starts clicking on parent cells, but I need the entire card view section to be visible at startup even when it's at the bottom of the parent list.