Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Error with JQuery 1.8
posted

Hi,

Does Infragistics support JQuery 1.8? 

My igGrid works fine with 1.7 and earlier, but switiching to 1.8, in Firefox I receive the error 'TypeError: data is null' at Infragistics.datasource.js, line 36.

I am using the latest version of Infragistics for JQuery.

My grid has a WCF Data Service as a data source, returning JSON.

This is my grid code:

$("#grid1").igGrid({
                 virtualization: false,
                 autoGenerateColumns: false,
                 columns: [{ headerText: "Name", key: "name", dataType: "string" },  { headerText: "Age", key: "age", dataType: "string" }],
                 features: [{
                     name: "Filtering",
                     allowFiltering: true,
                     caseSensitive: false,
                     type: "remote",
                     mode: "simple",
                     filterExprUrlKey: "filter",
                     //dropDownOpening: removeFilterOptions,
                     columnSettings: [
                                         {
                                             columnKey: "info",
                                             condition: "contains"
                                         }
                     ]
                 },
                                     ],
                 height: '500px',
                 dataSource: '/wcfdataservice1.svc/TestData?$format=json',
                 responseDataKey: 'd'
             });
         });

And this is sample JSON data from the WCF Data Service:

{
"d" : [
{
"__metadata": {
"uri": "http://127.0.0.2:8080/WcfDataService1.svc/TestData('paul')", "type": "HelloWorld3.TestDataClass"
}, "name": "paul", "age": "35"
}
]
}