fnCellRender does not work on buttons that "sExtends": "collection",
fnCellRender does not work on buttons that "sExtends": "collection",
Steve_Webtron
Posts: 19Questions: 0Answers: 0
If I try to use a button collection, the fnCellRender does not work on the items in the collection.
Even if the collection is only 1 button
Even if the fnCellRender would fire on that sExtends Type ie: "csv" or "xls"
Also the fnCellRender does not fire on type: "print"
http://live.datatables.net/eyevew/5/edit#javascript,live
I guess I solved my own problem after 2 days...
http://live.datatables.net/eyevew/6/edit#javascript,live
I had to put the fnCellRender inside the aButtons inside the collection...
it would be nice if we could define 1 function to work on all types of buttons in the collection without attaching it to each one individually...
Even if the collection is only 1 button
Even if the fnCellRender would fire on that sExtends Type ie: "csv" or "xls"
Also the fnCellRender does not fire on type: "print"
http://live.datatables.net/eyevew/5/edit#javascript,live
I guess I solved my own problem after 2 days...
http://live.datatables.net/eyevew/6/edit#javascript,live
I had to put the fnCellRender inside the aButtons inside the collection...
it would be nice if we could define 1 function to work on all types of buttons in the collection without attaching it to each one individually...
This discussion has been closed.
Replies
thx!!
Allan
Allan