[CLOSED] how to run event only check select GridPanel

  1. #1

    [CLOSED] how to run event only check select GridPanel

    Hi,how to run a event on check selection of the gridpanel, but only when check/uncheck the row, doing nothing when you click on the row.
    thanks in advance.
    im using ext 1.3 and safari
    Last edited by Daniil; May 22, 2012 at 7:49 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please clarify - do you need selection on clicking checkboxes only?

    If yes, please set up
    CheckOnly="true"
    for CheckboxSelectionModel.
  3. #3
    Hi, I want to click the check run an event, but by clicking on the row is selected and do nothing
  4. #4
    I can suggest the following solution.

    Example
    <ext:CheckboxSelectionModel runat="server">
        <Listeners>
            <RowSelect Handler="if (Ext.fly(Ext.EventObject.getTarget()).hasClass('x-grid3-row-checker')) {
                                    alert('The row is selected by checkbox');
                                }" />
        </Listeners>
    </ext:CheckboxSelectionModel>
  5. #5
    Thanks a lot!.

Similar Threads

  1. Replies: 6
    Last Post: Sep 22, 2011, 12:46 PM
  2. [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
  3. Checkbox Check Event
    By mjessup in forum 1.x Help
    Replies: 2
    Last Post: Jun 16, 2010, 10:08 PM
  4. Replies: 3
    Last Post: Feb 16, 2010, 4:13 PM

Posting Permissions