SCRIPT5007: Unable to get value of the property ‘display’: object is null or undefined flexigrid.js, line 692 character 5


If you get the exception mentioned below while using Flexigrid in your project

SCRIPT5007: Unable to get value of the property ‘display’: object is
null or undefined
flexigrid.js, line 692 character 5

Try to use Microsoft IE Developer tools first and my problem was related to removing the last coma in colModel

colModel :{display: ‘Row ID’, name : ‘id’, width : 100, sortable : false, align: ‘left’, hide: true},
{display: ”, name : ”, width : 100, sortable : true, align: ‘left’},
{display: ”, name : ”, width : 100, sortable : true, align: ‘left’},
{display: ”, name : ”, width : 150, sortable : true, align: ‘left’},
{display: ”, name : ”, width : 150, sortable : false, align: ‘left’},
{display: ”, name : ”, width : 150, sortable : true, align: ‘left’},
},

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s