Results 1 to 4 of 4

Thread: Making a row non editable

  1. #1

    Default Making a row non editable

    Hi folks,

    I know how to make a column non editable with {editable: false}, but I can't find the way to do the same for a row.
    I want to use it to block logged in users who don't have rights on a task to edit it. Does anybody know of any methods/properties that would help? Can records be set non editable on an individual basis?

    Thanks
    Marc

  2. #2
    Sencha User sideeque's Avatar
    Join Date
    Aug 2009
    Location
    Washington DC
    Posts
    50

    Default

    Disabling the fields on grid will be an one option.

  3. #3
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246

    Default

    I suggest to add listeners beforeEdit on each editor and test record value that your need to test...
    if it's ok to edit, return true; else return false;

  4. #4

    Default

    I like this idea. Thanks!

    Quote Originally Posted by laurentParis View Post
    I suggest to add listeners beforeEdit on each editor and test record value that your need to test...
    if it's ok to edit, return true; else return false;

Similar Threads

  1. Making a form non - editable
    By Franzen in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Aug 2010, 5:21 AM
  2. Selecting a row in a grid and making it visible
    By sjzaluk in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 27 Jun 2010, 2:48 PM
  3. making certain cells of an ExtJS GridPanel un-editable
    By synchronicity in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 19 Feb 2010, 3:08 PM
  4. making an column data editable in some case not editable in some other case?
    By mayanknext in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 24 Mar 2009, 1:44 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
  •