Data Display issue in all browsers

Data Display issue in all browsers

convivaconviva Posts: 2Questions: 0Answers: 0
edited March 2013 in General
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

Replies

  • phatjam98phatjam98 Posts: 1Questions: 0Answers: 0
    Yes I have the same issue. However I am currently using jQuery 1.9.1 with DataTables 1.9.4. The funny thing is in IE10 everything works just fine. When I use any other browser the data is loaded, and then the table is turned into a DataTable and magically there is no data.

    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.
  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    Please link to a test case: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    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
This discussion has been closed.