Oct 02, 2011, 3:46 AM
Multiple Row Selection Grid Panel with out ctrl key
Hi,
I want to implement multiple rows selection in Grid Panel. I know currently we can do it with the help of ctrl key.
The piece of functionality I am looking forward is, the user could select/deselect rows with out pressing ctrl key.
One the row selection has been made, when user double clicks, all the selected rows would be processed. Again there is a catch, to differentiate between single and doble click i.e. if user double clicks of on already selected row, then double click event should be fired and not the single click event. This I know could be done with the help of timer function(Just to wait for some time in single click function to check if double click has been raised or not).
How should I implement selection with out ctrl key. I do not want to use Ext.override which would override all the grids behaviour, every where in the application
Can I just extend the selection model and pass it to grid.
Note: I am using ext.net control in MVC application. The controls are declared in aspx page.(view). So all databinding/extending has to be done in javascript
I want to implement multiple rows selection in Grid Panel. I know currently we can do it with the help of ctrl key.
The piece of functionality I am looking forward is, the user could select/deselect rows with out pressing ctrl key.
One the row selection has been made, when user double clicks, all the selected rows would be processed. Again there is a catch, to differentiate between single and doble click i.e. if user double clicks of on already selected row, then double click event should be fired and not the single click event. This I know could be done with the help of timer function(Just to wait for some time in single click function to check if double click has been raised or not).
How should I implement selection with out ctrl key. I do not want to use Ext.override which would override all the grids behaviour, every where in the application
Can I just extend the selection model and pass it to grid.
Note: I am using ext.net control in MVC application. The controls are declared in aspx page.(view). So all databinding/extending has to be done in javascript