[Local versions : jqwidgets-ver3.2.1 / jquery-1.11.0.min.js / Visual Studio 2010 on XP SP3]
[JSFiddle version : http://jqwidgets.com/public/jqwidgets/jqx-all.js /
Hi,
This code works as expected in JSFiddle. It has been copied/cut from Visual Studio (see libraries versions above). Locally, it fails :
– The treeGrid rendering hangs. The browser’s debugger shows a “Uncaught TypeError: Cannot read property ‘toString’ of undefined” that occurs at jqx-all.js:7.
– When loading the grid from a database (SQL Server Compact Edition 4) instead of the testData variable, by uncommenting the url attribute, and commenting the localData one out, the data is correctly retrieved. However, the collapse and expand events then don’t get triggered any more.
I’m aware the reasons may lie outside jqWidget. Maybe a problem with Visual Studio configuration. Or maybe an obvious semi-colon issue that I’d be missing. But I’ve been investigating this now for a couple of days, and can’t see anything. I’m posting here, just in case this would have already been ran through. Or in the event more acute eyes than mine find the error.
Thank you for any help.
Best regards.