Results 1 to 7 of 7

Thread: grid.getColumnModel().isCellEditable not working in chrome

  1. #1
    Sencha User
    Join Date
    Mar 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default grid.getColumnModel().isCellEditable not working in chrome

    Hi. I am using the following code in EXTJs 3.4 in my code to make certain columns in my editor grid uneditable based on some conditions in my data
    grid.getColumnModel().isCellEditable = function(colIndex, rowIndex) { if(condition ) return false;
    else return Ext.grid.ColumnModel.prototype.isCellEditable.call(this, colIndex, rowIndex);
    };

    This gives me the correct output in IE where the intended cells are disabled. However in chrome the cells are still editable. Is there any solution to make it work in chrome also? Thanks

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,666
    Answers
    491
    Vote Rating
    285
      0  

    Default

    Which versions of IE and Chrome are you using?

    Lifecycle management for your web apps

  3. #3
    Sencha User
    Join Date
    Mar 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    I am using IE 8 and 11. Works fine with both. The chrome version is 55.0.2883
    Quote Originally Posted by Gary Schlosberg View Post
    Which versions of IE and Chrome are you using?

  4. #4
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,666
    Answers
    491
    Vote Rating
    285
      0  

    Default

    Are you using Ext JS 3.4 or Sencha Architect 3.4? If Architect, which version of Ext JS are you using?

    Lifecycle management for your web apps

  5. #5
    Sencha User
    Join Date
    Mar 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    I am using Ext JS 3.4
    Quote Originally Posted by Gary Schlosberg View Post
    Are you using Ext JS 3.4 or Sencha Architect 3.4? If Architect, which version of Ext JS are you using?

  6. #6
    Sencha User
    Join Date
    Mar 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Also I have an update to this. We checked with chrome 46.0.2490 version and it is working in that too.
    Quote Originally Posted by nitinjaggy View Post
    I am using IE 8 and 11. Works fine with both. The chrome version is 55.0.2883

  7. #7
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,666
    Answers
    491
    Vote Rating
    285
      0  

    Default

    So you're not using Architect?

    I'm not finding any bug reports for this issue. So your condition makes it to the 'else' part of your code and Ext.grid.ColumnModel.prototype.isCellEditable.call(this, colIndex, rowIndex) is returning true?

    Lifecycle management for your web apps

Similar Threads

  1. [FIXED] Grid momentum scrolling not working in Safari/Chrome
    By jorgemanrubia in forum Ext:Bugs
    Replies: 1
    Last Post: 31 Mar 2014, 6:44 PM
  2. Replies: 3
    Last Post: 23 May 2013, 1:58 PM
  3. Ext.grid.ColumnModel isCellEditable
    By jestahl in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 1 Apr 2008, 11:01 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
  •