[CLOSED] Grid Panel - Conditional Editing

  1. #1

    [CLOSED] Grid Panel - Conditional Editing

    I have a grid where the availability to edit a cell is based on a flag in the store. If possible, how can I turn on and off the cell-editing plug in based on a store value? Is there anything I can do during the setup of the grid or is this something only at the client? If it makes any difference, I am using MVC/Razor.
    Last edited by Daniil; Sep 25, 2012 at 6:53 AM. Reason: [CLOSED]
  2. #2
    Hi,

    It should be done client side by returning false from a CellEditing BeforeEdit listener or setting e.cancel to true.
    http://docs.sencha.com/ext-js/4-1/#!...ent-beforeedit

Similar Threads

  1. [CLOSED] MVC Grid Editing
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 23, 2012, 9:49 AM
  2. Replies: 0
    Last Post: Jan 06, 2011, 9:50 PM
  3. Replies: 3
    Last Post: Nov 19, 2009, 9:17 AM
  4. [CLOSED] Grid panel Editing?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 01, 2009, 8:22 AM
  5. Inline Editing in a Grid using combobox
    By gido in forum 1.x Help
    Replies: 3
    Last Post: Sep 11, 2009, 6:55 AM

Tags for this Thread

Posting Permissions