The functionality I'm building is a grid that can be filtered in a number of different ways with the purpose of creating a refined list from which the user can select individual rows of interest. The user then clicks a menu button that redirects to a dialog form. I'd like to essentially display the same style grid used to make the selections but only show the selections.
I've had to put a pause on the project, but the strategy I left off on was to use the MultiSelectionHelper to load a temp table and then bind the grid to the temp table. Is there a better (more out of the box) way to do this?
So I'm not sure that I'll be pursuing the implementation that prompted my initial question, but I'm still curious if a table method can be called from a data source and if so, can parameters be passed in to the table method. If you could do this, seems like it would be a clean way to get a filtered dataset back.
public static UnitLine findProposedUnitLines(UnitLineProposal _selectedUnitLines)
{
UnitLine proposedUnitLines;
select * from proposedUnitLines
exists join proposedUnitLines where proposedUnitLines.InventTransId == _selectedUnitLines.InventTransId;
return proposedUnitLines;
}