Hi, I think there is a problem that can be optimized.(about row().data() API)
Hi, I think there is a problem that can be optimized.(about row().data() API)
Hi, I think there is a problem that can be optimized.
I am doing a ajax method, and I use jquery.ajax to get the rows of data sent to the webapi. But I found a problem when I use the "$ .fn.datatable.api ... row (). Data ()" API, the returned data contains datatable configuration information, which causes jquery to execute ajax request spelling request Parameters of the time to join the configuration parameters. Resulting in a procedural confusion.
Can provide a more simple access to the data line method, I can directly access to the binding data, and not doped configuration information. The best is an array.
Thank you for providing such good controls and long-standing support.
China Developers
Answers
Could you link me to a page showing the issue please? The
row().data()
method will just return whatever object you used to populate the table. It doesn't insert any of its own data.Allan