Results 1 to 3 of 3

Thread: Disabling a column in grid

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    16

    Default Disabling a column in grid

    Hi,

    I have used the following line to disable a column in grid but doesn't work any suggestions please?

    Ext.getCmp('grid').getPlugin('rowEditing').editor.form.findField('colname').disable()

    Thank you

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I'm guessing that you are using the RowEditing plugin. Are you hoping to make the field look like a non-editable field or to give it a greyed out (disabled) appearance?

    Here's a thread that might help:
    https://www.sencha.com/forum/showthread.php?309189

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    16

    Default

    yes i want the column to appear as non-editable or grayed out

Similar Threads

  1. Disabling a item in Ext.grid.column.Action
    By lord_of_php in forum Ext: Q&A
    Replies: 4
    Last Post: 5 Jul 2013, 8:47 AM
  2. disabling grid column based on user selection
    By raj_plays in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 16 Aug 2010, 9:58 PM
  3. Repeated enabling/disabling of grid column causing the size to shrink
    By abhijithmj in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 12 Feb 2009, 6:58 PM
  4. Disabling a specific grid column from being hidden
    By jayzeb in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 9 Oct 2008, 8:35 AM

Posting Permissions

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