[CLOSED] GridPanel ClientSide Record?

  1. #1

    [CLOSED] GridPanel ClientSide Record?

    Hi there

    How would I grab the selected row/record from a gridpanel in JavaScript? I have looked on ExtJS, but I can't seem to find what I am looking for.

    Thanks
  2. #2

    RE: [CLOSED] GridPanel ClientSide Record?

    Hi,

    you can get selected record on client using selection model

    GridPanel1.getSelectionModel().getSelected() - Returns the first selected record.
    GridPanel1.getSelectionModel().getSelections() - Returns the selected records.

    You can see it at
    http://extjs.com/deploy/dev/docs/?cl...SelectionModel

  3. #3

    RE: [CLOSED] GridPanel ClientSide Record?

    Thanks Vladsch,

    I got this working earlier this morning (UK) using as you suggested getSelected().data....

Similar Threads

  1. Replies: 2
    Last Post: Mar 19, 2012, 8:55 PM
  2. Replies: 16
    Last Post: May 26, 2011, 10:23 PM
  3. ClientSide to grouping gridpanel
    By stephan1985 in forum 1.x Help
    Replies: 1
    Last Post: Feb 22, 2010, 11:57 AM
  4. [CLOSED] How to delete a record from grid permanently clientside?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 18, 2009, 11:46 AM
  5. [CLOSED] Adding a new Store Record - Not a Record object
    By Steve in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 15, 2009, 7:40 AM

Posting Permissions