Data Display issue in all browsers
Data Display issue in all browsers
I posted this in datatables 1.9 but maybe this is a general issue that someone has seen.
Data to the datatable comes in as a Json array and is given to the aaData field of the table. The data exists in a knockout observable array. When checked, this array contains valid data in the form of an array of objects with fieldname and field Value [“FieldName”:”FieldValue”]. The control does use these field names correctly to display the column headers, and will show the data very intermittently on chrome, firefox, and IE. Using the debugger for datatables does not show any issues nor are there any errors displayed to the console of any of the browsers. We have other tables that correctly display the data from the datasource
I can see the data all of the way to the control, use it in other places without issue. Has anyone run into this issue before?
jquery-1.8.2
DataTables-1.9.4
Data to the datatable comes in as a Json array and is given to the aaData field of the table. The data exists in a knockout observable array. When checked, this array contains valid data in the form of an array of objects with fieldname and field Value [“FieldName”:”FieldValue”]. The control does use these field names correctly to display the column headers, and will show the data very intermittently on chrome, firefox, and IE. Using the debugger for datatables does not show any issues nor are there any errors displayed to the console of any of the browsers. We have other tables that correctly display the data from the datasource
I can see the data all of the way to the control, use it in other places without issue. Has anyone run into this issue before?
jquery-1.8.2
DataTables-1.9.4
This discussion has been closed.
Replies
I'm also using require.js and knockout.js however both are working just fine. Not sure what is going on here, about to switch back to an older version of DT's to see if that works.
Also note that DataTables cannot currently use a knockout collection since it takes an independent copy of the data source object. You would need an abstraction layer between knockout and DataTables for this to be possible. I will be working on that sometime after v1.10 has been released.
Allan