How to get selected rows CheckboxSelectionModel

  1. #1

    How to get selected rows CheckboxSelectionModel

    Hi, I'm new to ext.net, can anyone tell me how to get selected tows CheckboxSelectionModel?

    Thanks
    Lasa
  2. #2
  3. #3
    not from server side. i need javascript one.

    Thanks
  4. #4
    Example
    grid.getSelectionModel().getSelections();
    See also
    http://docs.sencha.com/extjs/3.4.0/#...-getSelections
  5. #5
    Hi i'm trying to do the same thing here, but no form of grid.getSelectionModel().getSelections(); returns anything at all.

    I've tried:
    grid.getSelectionModel().getSelections();
        grid.getSelectionModel().getSelectedRows();
        grid.store.getSelectedRows();
        grid.store.getSelectionModel().getSelectedRows();
        grid.store.getSelectionModel().getSelections();
    and like 6 other method calls but nothing is recognized. For reference, i can set a variable to grid.store.getUpdatedRows() and return a result set, but its blank because there are no updated rows. I'm just trying to get the selected rows and am unable to.
    Last edited by Daniil; Sep 26, 2015 at 8:21 AM. Reason: Please use [CODE] tags
  6. #6
    Hi @navalurzu7,

    I see you post questions in the Help 3.x forum. So, I assume you are dealing with Ext.NET v3. The ExtJS docs reference for Ext.NET v3 is this one:
    http://docs.sencha.com/extjs/5.1/5.1.1-apidocs

    Please review Ext.selection.Model's API:
    http://docs.sencha.com/extjs/5.1/5.1...election.Model

Similar Threads

  1. Replies: 4
    Last Post: Jul 30, 2013, 5:29 PM
  2. Replies: 7
    Last Post: Mar 12, 2013, 8:15 AM
  3. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  4. [CLOSED] Deactivate Rows in a CheckBoxSelectionModel
    By macap in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 19, 2010, 9:26 AM
  5. Replies: 2
    Last Post: Dec 25, 2009, 2:56 PM

Posting Permissions