deferred rendering with links in each row
deferred rendering with links in each row
Hello,
First of all let me congratulate you for an awesome job! I love this tool.
I'm working with big tables (5k to 12k rows) and deferred rendering is working fine when I use an aaData array similar to the one on the example. But I'd like to include a link or button in each row to see the details of the element selected. But I'm not able to read the aaData array if I do it this way (with the ) I get the following warning:
[quote]
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
[/quote]
Is there a way I can include these links in each row with a minimum impact on performance?
Thank you.
First of all let me congratulate you for an awesome job! I love this tool.
I'm working with big tables (5k to 12k rows) and deferred rendering is working fine when I use an aaData array similar to the one on the example. But I'd like to include a link or button in each row to see the details of the element selected. But I'm not able to read the aaData array if I do it this way (with the ) I get the following warning:
[quote]
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
[/quote]
Is there a way I can include these links in each row with a minimum impact on performance?
Thank you.
This discussion has been closed.
Replies
[code]
$stringData = ",\n\t[\"".$make['id']."\",\" ".$make['name']." \"]";
[/code]
I used the URL to place the id of the element I wish to view, and use $_GET to get it in the view.php file. The neat thing is I was able to save this in the aaData array and my app works lighting fast!
Thank you all anyways, and if you need me to go further in details with this let me know!