I'm looking for apply your solution, but JSON data format changes.
Before record was as: ["December 18, 2013","Forniture",......,"\u003Ca class=\"btn btn-mini\" href=\"/userfeedbacks/11\"\u003EShow\u003C/a\u003E"
Now I have something like that: [{"created_at":"December 18, 2013","product":"Forniture",....]
I don't understand how to convert it and how I can add some action buttons as in the previous example.
Solved, by adding the aoColumns to jquery, but sort and search functions don't work
Hi ericeche,
I'm looking for apply your solution, but JSON data format changes.
Before record was as:
["December 18, 2013","Forniture",......,"\u003Ca class=\"btn btn-mini\" href=\"/userfeedbacks/11\"\u003EShow\u003C/a\u003E"
Now I have something like that:
[{"created_at":"December 18, 2013","product":"Forniture",....]
I don't understand how to convert it and how I can add some action buttons as in the previous example.
Many thanks
I followed the tutorial and I'm able to show data, but I have a couple of issues probably about app/assets/javascripts/products.js.coffee file:
1) I don't understand the
"sAjaxSource": $('#products').data('source')
param. If I try to remove this row nothing changes. Why ?2) bootstrap layout doesn't work. Below my code:
Table def
Any idea is very appreciated. Thanks