In this application we are running around the warehouse and picking items for an order. The user gets to select any row in the gridview of items either by clicking that row or entering a search field and the program will find a row from that..
What I want to do is this:
1. When a row is selected, show only that row and show a panel where the user takes an action.
2. When the user completes the action for that row, restore the gridview to showing all of the rows and make that panel disappear.
How I think of this is:
- A split container with two panels (and 0 for the splitter width). One panel contains the gridview. The other panel contains the controls for the user to execute the action for the selected gridview row.
- When a row is selected, that panel and gridview will decrease their size to contain only the header row and the selected row. The other panel will expand into the vacated space in the split container. Reverse this when the action for that row is completed. (That other panel won't be visible.)
- When the row is selected, no scrolling, no touching, nothing. It's there to show you what you have selected to work on. That's all.
I'm doing fine with collapsing the panels in the split container. I'd like help with
- Either setting the current row as the first visible row or making the current row the only visible row (other suggestions are welcome).
- Hiding the scroll bar and other things to keep the user out of the gridview when a row has been selected.
- Calculating the height to set the gridview so that it is tall enough to show the header and one row (I think I've been there before).
Thank you.