[CLOSED] GridPanel RowEditor plugin, limiting editing to a single cell.

  1. #1

    [CLOSED] GridPanel RowEditor plugin, limiting editing to a single cell.

    Answered my own question, thanks
    Last edited by fabricio.murta; Apr 07, 2017 at 6:56 PM.
  2. #2
    Hello @rmelancon!

    Glad you could fix yourself your issue but it would be nice if you left both the question and answer for future reference and other people that might fall in the same dilemma! :)

    Apparently just setting in the columns' definition an editor only for the desired columns (so leaving just one column with the <editor> block) might be enough.

    Something like that:

    <ColumnModel>
        <Columns>
            <ext:Column runat="server" Text="Company" DataIndex="company" Width="200">
                <Editor>
                    <ext:TextField runat="server" />
                </Editor>
            </ext:Column>
            <ext:Column runat="server" Text="Price" DataIndex="price" Width="100" />
            <ext:Column runat="server" Text="Change" DataIndex="change" Width="100" />
            <ext:Column runat="server" Text="Change" DataIndex="pctChange" Width="100" />
            <ext:DateColumn runat="server" Text="Last Updated" DataIndex="lastChange" Width="120" />
        </Columns>
    </ColumnModel>
    then, of course, using the <ext:RowEditing runat="server" ClicksToEdit="1" /> in the <plugins /> block of the GridPanel.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Yes, that's basically what I did. My original attempt was trying to combine a row editor and cell editor and that did not work and caused some goofy behavior.
  4. #4
    Alright, thanks for the feedback and confirming. And, yes, mixing two editor approach plug ins is expected to break some havoc in a same grid. ;)
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Cell Editing in GridPanel using DragTracker
    By raidem in forum 2.x Help
    Replies: 0
    Last Post: Apr 23, 2015, 11:50 AM
  2. Replies: 3
    Last Post: Oct 11, 2013, 10:28 PM
  3. GridPanel with RowEditor Plugin
    By d3graph in forum 2.x Help
    Replies: 1
    Last Post: Oct 08, 2013, 1:48 AM
  4. Ext.Net:GridPanel with RowEditor Plugin
    By ada in forum 2.x Help
    Replies: 0
    Last Post: Jun 09, 2013, 5:24 AM
  5. RowEditor Plugin for GridPanel
    By bright in forum 1.x Help
    Replies: 0
    Last Post: Feb 17, 2012, 3:04 PM

Posting Permissions