ChooseFromList - multiSelectionPossible
Erwan LIVORY
Hi,I define two ChooseFromList objects with next parameters
Case1
- multiSelectionPossible = No
- SaveValue to a column of a grid
Case 2
- multiSelectionPossible = Yes.
- SaveValue to a grid
After Click on the "Sélectionner" button on the ChooseFromList screen,
I want to insert the SelectedRows in the grid.
Question :
How can I get the results of the selection (multiple rows) ?
Michael Egloff
Hello Erwan,you have to sign up for the CFL-Event
yourChooseFromList.ChooseFromListEvent += yourChooseFromListEventHandler;
You need a method called 'yourChooseFromListEventHandler' (see above)
private void yourChooseFromListEventHandler(SwissAddonFramework.UI.Dialogs.ChooseFromListEvent e)
{}
Now you can step through the selected results
foreach (System.Collections.Generic.Dictionary lst in e.Results)
{
string currentSelectedValue = lst["ColumnName"];
}
0
Please sign in to leave a comment.
Comments
0 comments