Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82439

Adding rows in local table editor

$
0
0

Adding rows to a table without ajax configured does not work in Editor 1.6.1
https://editor.datatables.net/examples/simple/noAjax.html

The following statement throws because there is no original data to extend.

// Get the original row's data, so we can modify it with new values.
// This allows Editor to not need to submit all fields
var rowData = originalData[ key ].data;

Uncaught TypeError: Cannot read property 'data' of undefined


Viewing all articles
Browse latest Browse all 82439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>