[flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Dharmendra Chauhan
 Is it possible to select multiple rows in data grid by just
dragging mouse over It. I know this can we achieved with combination
of sift key and mouse.
This need has arisen because we are migrating .DOT Net  data grid
with flex data grid and user  want to have same ease of multiple
selection.

Initially I was confused with dragMultipleSelection propery of
datagird but later I realized that it is for dragging rows and not for
selection.


Please let me know whether it is possible  in flex or not  and if it
is possible then please provide me some pointers.




Re: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Manish Jethani
On Sat, Jan 10, 2009 at 11:55 PM, Dharmendra Chauhan
chauhan_i...@yahoo.com wrote:
  Is it possible to select multiple rows in data grid by just
 dragging mouse over It. I know this can we achieved with combination
 of sift key and mouse.

[...]

 Please let me know whether it is possible  in flex or not  and if it
 is possible then please provide me some pointers.

I think you (or someone else) asked this one before and didn't get an
answer. This is possible but non-trivial. You can extend the DataGrid
to override the mouse handling and update the selection accordingly.
The pointer I can give you is the DataGrid source code itself -- look
into that.

Manish

-- 
http://manishjethani.com


RE: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Alex Harui
Should be doable, but I don't know of any examples

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dharmendra Chauhan
Sent: Saturday, January 10, 2009 10:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple selection in dataGrid by dragging Mouse with 
left mouse key


Is it possible to select multiple rows in data grid by just
dragging mouse over It. I know this can we achieved with combination
of sift key and mouse.
This need has arisen because we are migrating .DOT Net data grid
with flex data grid and user want to have same ease of multiple
selection.

Initially I was confused with dragMultipleSelection propery of
datagird but later I realized that it is for dragging rows and not for
selection.

Please let me know whether it is possible in flex or not and if it
is possible then please provide me some pointers.