[CLOSED] get the row which was actually clicked in a grid with CheckBox Selection Model

  1. #1

    [CLOSED] get the row which was actually clicked in a grid with CheckBox Selection Model

    Hi
    I have a grid with a CheckBox Selection Model with single select set to false. Users may have multiple rows selected and on pressing a button, code should be activated on all those selected records.

    If multiple rows are selected and a user double clicks on a particular row is it possible to identify just this row/record among the multiple selections as we need to apply different code to this record?

    thanks
    Last edited by Daniil; Dec 01, 2011 at 3:12 PM. Reason: [CLOSED]
  2. #2
    Hi,

    A rowIndex is passed to a RowDblClick listener.
    http://docs.sencha.com/ext-js/3-4/#!...nt-rowdblclick

    You can use it to determine a row is selected or not:
    http://docs.sencha.com/ext-js/3-4/#!...hod-isSelected
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    A rowIndex is passed to a RowDblClick listener.
    http://docs.sencha.com/ext-js/3-4/#!...nt-rowdblclick

    You can use it to determine a row is selected or not:
    http://docs.sencha.com/ext-js/3-4/#!...hod-isSelected
    Thanks, just what I need. I was dynamically adding a dblclick listener to the grid, however the rowdblclick with the required arguments is what I need.

Similar Threads

  1. Replies: 1
    Last Post: Mar 11, 2012, 4:03 AM
  2. Replies: 2
    Last Post: Aug 09, 2011, 11:38 AM
  3. binding checkbox selection model
    By VipulTyagi in forum 1.x Help
    Replies: 2
    Last Post: Apr 07, 2011, 12:36 PM
  4. [CLOSED] checkbox selection model
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 24, 2010, 2:22 PM
  5. Replies: 4
    Last Post: Oct 06, 2010, 10:08 AM

Posting Permissions