EasyUI Forum
November 05, 2025, 04:07:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Combogrid, no grid in IE8  (Read 13924 times)
Ellipsis
Full Member
***
Posts: 113


View Profile WWW
« on: July 10, 2012, 03:46:59 AM »

When using an external JSON, IE8 gave me a parseError:

Unterminated String Constant

It has something to do with the /n/r

Anyone has seen this before?

No the debugger keeps telling me:   'field' is null or not an object  jquery.datagrid.js, line 668 character 1

.....
Logged
Ellipsis
Full Member
***
Posts: 113


View Profile WWW
« Reply #1 on: July 13, 2012, 01:00:59 AM »

Ok solved it,

The code had an error in the column array. The error (an additional , after the last column declaration) only affected IE because this browser was expecting a column.

In the call for a combogrid:

Code:
...
....
....
columns:[[
       {field:'id',title:'Id',width:80,hidden:true},
{field:'restUri',title:'RestUri',width:120,hidden:true},
{field:'identifier',title:'Identifier',width:120,hidden:true},
{field:'description',title:'Subject',width:150,sortable:true},
]],
....
....

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!