1. #1
    Sencha User
    Join Date
    May 2010
    Vote Rating
    santoshsatav is on a distinguished road


    Question select item from gridview depend on id value of row

    i have 2 grid loaded with same data,one grid is on main page an another one is on pop up window when pop up window opened selection on main page grid should reflect in pop up window grid , ie both grid having same selection, i tried several methods but none of them worked.

    grid are "grid view" with grid "grouping store" and "checkbox selection model"

  2. #2
    Sencha User
    Join Date
    Dec 2009
    Vote Rating
    raj_plays is on a distinguished road



    Assuming that both grids use the same store and only 1 row can be selected in grid1,

    var selected = grid1.getSelectionModel().getSelections()[0];

Similar Threads

  1. ComboBox : using select () to select the first item from the store.
    By nikhilkrishnan in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 29 Dec 2010, 2:49 AM
  2. Replies: 4
    Last Post: 15 Oct 2010, 12:58 AM
  3. Replies: 2
    Last Post: 12 Jul 2010, 9:20 AM
  4. Replies: 2
    Last Post: 11 Feb 2009, 1:58 PM
  5. Problem with Form & comboBox Depend..
    By Xcar in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 2 Aug 2007, 12:13 PM

Thread Participants: 1

Tags for this Thread