This project is read-only.

MouseUp/Down to multiselect rows in a datagrid

Aug 18, 2008 at 1:45 PM

I want to perform multiple selection in a datagrid using MouseUp /MouseDown, but I'm not quite sure how to do that with White.
Any help will be much appreciated.
Aug 20, 2008 at 4:12 PM
Is it ListView or DataGrid? (i.e. ListView or Table in white's terms)

If it is ListView you can use multiselect method on ListView.
If it is Table then this feature is not present in White yet. You need to wait for next release.
Aug 22, 2008 at 1:09 PM
It is a ListView and calling multiselect method works fine for me.

I've asked if there is a way to use MouseUP/Down, because I wanted to simulate such a behavior in my tests with White  -  i have several cases for multiselecting which includes :
- multiselect performed by ctrl/shift and mouse click on the row;
- ctrl/shift + key up/down ;
- select row + mouse up/down

Is it possible to simulate mouse up.down in that context?

Thank you.
Aug 24, 2008 at 6:41 PM