[CLOSED] GridPanel row select event

  1. #1

    [CLOSED] GridPanel row select event

    Another "upgrade" issue here. In 1.x, we have a gridpanel with a select event. With multiselect on, the selectionmodel still fires only 1 event if multiple rows are selected. In 2.x, it will fire a select event PER record selected. On row select, I load something from database. Now, it fires the event 10x for 10 rows. I saw the selectionchange event and I tried that, but that also fires TWO times on each selectionchange. It fires once for the deselection of a row, then again for selection of a new row.

    Is there another event I am suppose to listen to??? I only want to catch ONE event when a row is selected. Simple as that.
    Last edited by Daniil; Mar 21, 2013 at 7:23 AM. Reason: [CLOSED]
  2. #2
    What about to use SelectionChange with Buffer option? It will prevent multiple calling
  3. #3
    Quote Originally Posted by Vladimir View Post
    What about to use SelectionChange with Buffer option? It will prevent multiple calling
    Thanks! buffer is what I needed. I set buffer=10. Do you think that's enough?
  4. #4
    Hello,

    Well, it can be enough. Though, personally, I would set up a bit more, e.g.

    Generally, this kind of settings like Delay and Buffer can require some tweaking.

Similar Threads

  1. [CLOSED] GridPanel check row on select ( Multiple select)
    By FpNetWorth in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 12, 2013, 12:23 PM
  2. [CLOSED] how to run event only check select GridPanel
    By egvt in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 21, 2012, 8:13 PM
  3. Replies: 6
    Last Post: Sep 22, 2011, 12:46 PM
  4. How to fire event by row select?
    By mannyk in forum 1.x Help
    Replies: 0
    Last Post: Aug 05, 2010, 9:48 AM
  5. [CLOSED] Is it possible to Select Items of a multi select during ajax event
    By vedagopal2004 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 29, 2010, 6:28 PM

Posting Permissions