Results 1 to 2 of 2

Thread: Disable/Enable cells on Ext.grid.Panel and cellediting

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2013

    Question Disable/Enable cells on Ext.grid.Panel and cellediting


    Here comes again the question how to enable/disable a cell inside a Ext.grid.Panel and cellediting...
    I see that many forum threads were opened with this question, but I found no valid example/mechanism for ExtJS 4.2

    Lets consider the following panel:

    Ext.create('Ext.grid.Panel', {
        title: 'Cell editor',
        store: store,
        columns: [ {
            text: 'Jan',
            dataIndex: 'Jan',
            width: 50,
            editor: {
                xtype: 'numberfield',
                disabled: true, //Only on creating this panel I see this option of disable/enable!!!
                allowBlank: false
        }, {
            text: 'Feb',
            dataIndex: 'Feb',
            width: 50,
            editor: {
                xtype: 'numberfield',
                allowBlank: true
    As you can see, there is the disable property, but I need to set the enable/disable dynamically, based on some configurations and not on column level (some cells from a column can be enabled others can be disabled)!

    It's possible on a panel listener to manipulate the panel cell such that those cells are disable/enable?

    listeners : {
            afterrender: function (panel) {
                // I need here to update the cells such that some are enabled/disabled, based on config....
                // ??????

    Or, the listener is not option, are there other ways to enable/disable cells?


  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Hi there- I have shared this issue with the support team and asked that they reach out to you to provide some assistance. Your patience is greatly appreciated!


Similar Threads

  1. Replies: 5
    Last Post: 31 Aug 2014, 9:44 PM
  2. Enable-Disable cells of single column in Ext.grid.EditorGridPanel
    By bhagwatgurle in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 4 Oct 2012, 7:28 AM
  3. Replies: 3
    Last Post: 5 Jan 2012, 7:06 AM
  4. Replies: 2
    Last Post: 17 Nov 2011, 1:41 AM
  5. Enable/disable editing cells in editor grid
    By major in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 23 May 2010, 2:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts