1 Reply Latest reply on Jul 20, 2014 3:23 AM by BKBK

    CF11 Object doesn't support property or method 'getColumnModel', Unable to get property 'tagName'

    Donald Baert Level 1

      I have many pages that use CFGRID and most of those pages use script to manipulate either the grid itself or data within the grids.  All of the scripting worked fine in CF9 and CF10.  While testing it on CF11, none of the code works.  To me it appears that changes were made in the ext-js imports that are not backwards compatible.  The first error thrown is the "Object doesn't support property or method 'getColumnModel'", with the source being the file that I am calling.  The code I typically use to call it is:

      changeStatus = function () {

           grid = ColdFusion.Grid.getGridObject('gridName');

           cm = grid.getColumnModel();

           cm.setRenderer(18,ChangeSomething);

      }

      That error is followed by "Unable to get property 'tagName' of undefined or null reference", with the source being {site}/cfide/scripts/ajax/ext/ext-all.js.

       

      Did the format to call the getColumnModel get changed in ColdFusion 11?

       

      Message was edited by: DONALD BAERT