1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    59
    Vote Rating
    0
    gcsolaroli is on a distinguished road

      0  

    Default How to listen to grid selection changes?

    How to listen to grid selection changes?


    I would like to implement a master-detail view, using a grid for the master view; thus I need to listen the change of selection in the grid in order to timely update the detail view.

    I have looked through the documentation, but I haven't found any selectionChange (or similar) public event.

    Is there such an "high" level event, or should I use the lower level events, such as 'cellclick', 'keydown', etc.... (the selection can be update both with the mouse and the arrows key, so I probably need to listen to more than just 'cellclick').

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    59
    Vote Rating
    0
    gcsolaroli is on a distinguished road

      0  

    Default


    I have probably found the answer myself (obviously just _after_ posting the question).
    I was probably barking at the wrong tree, as the selection model is probably (and rightly) the right place where to look for searching for selection change events.

    I had looked into the data model and column model, but missed the selection model altogether.

Similar Threads

  1. Grid Single Selection only?
    By steven in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 14 Apr 2011, 5:40 AM
  2. how to listen to close event of (tabbed) contentpanel?
    By seldon in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 8 Feb 2007, 9:06 AM
  3. Grid Editor and Selection Model
    By jack.slocum in forum Community Discussion
    Replies: 0
    Last Post: 10 Nov 2006, 3:49 AM
  4. Highlight Selection in PropsGrid Example
    By dmayer in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 8 Nov 2006, 5:48 PM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi