[CLOSED] CellEditing plugin

  1. #1

    [CLOSED] CellEditing plugin

    Hi,
    In version 1.x, the gridpanel cell editing plugin, by default, made cells automatically editable. Now, you have to click the cell to edit in version 2.0/2.1.

    Is there any fix for this as I want the editor of the cell to show automatically, not by having to click it.
    Thanks in advance,
    Kev
    Last edited by Daniil; Sep 18, 2012 at 12:32 PM. Reason: [CLOSED]
  2. #2
    Found it...

    Use "ComponentColumn".

    However, I've now found that the listener for edit doesn't fire inside the cellEditing tag anymore? Any reason for this?

    
    <Plugins>
                    <ext:CellEditing runat="server">
                        <Listeners>
                            <Edit Handler="if(e.field == 'ReceiptOnly') { CheckReceiptOnly(e.rowIdx, e.record.data, e.grid.store, e.originalValue); }; 
                                   if(e.field == 'ReceiptedAmount') { CheckReceiptedAmount(e.rowIdx, e.record.data, e.grid.store, e.originalValue); }" />
                        </Listeners>
                    </ext:CellEditing>
    </Plugins>
    Last edited by Kev; Sep 13, 2012 at 12:25 PM. Reason: New information found
  3. #3
    Hi,

    Well, there is no relation between ComponentColumn and Editing plugin.

    Please listen respective events of the ComponentColumn Component.

    However, we will think about editing events in this case. Thank you for pointing it out.
  4. #4
    Yes, I've listened to the blur event of the numberfield in the component, and then found the record and store in the field object.

    I agree it would be nice for the componentcolumn to work similarly and send through the "e.rowIdx", "e.record.data", "e.grid.store", "e.originalValue" on the edit event.

    Otherwise you have to do this on blur which is slight long winded:

    function MyBlurComponentColumnCell(field) {
        var val = field.getValue();
        var record = field.record.data;
        var store = field.record.store;
    
       ...
    }
  5. #5
    Yes, it would be good. Thank you for the suggestion.
  6. #6
    We have added the Edit and ValidateEdit events for ComponentColumn.

    Thank you again for the suggestion.

Similar Threads

  1. [CLOSED] V2.1 CellEditing validate
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: Dec 29, 2012, 8:34 AM
  2. [CLOSED] Plugin
    By boris in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 23, 2011, 1:10 PM
  3. [0.8.2] RowSelectionPaging plugin
    By SouthDeveloper in forum User Extensions and Plugins
    Replies: 4
    Last Post: Jan 25, 2010, 4:17 PM
  4. Plugin in GridPanel
    By olimpia in forum 1.x Help
    Replies: 0
    Last Post: Jul 14, 2009, 9:51 PM
  5. New Plugin
    By Maia in forum User Extensions and Plugins
    Replies: 4
    Last Post: Jun 16, 2009, 12:24 AM

Tags for this Thread

Posting Permissions