fnCellRender does not work on buttons that "sExtends": "collection",

fnCellRender does not work on buttons that "sExtends": "collection",

Steve_WebtronSteve_Webtron Posts: 19Questions: 0Answers: 0
edited January 2014 in TableTools
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...

Replies

  • jsidhujsidhu Posts: 7Questions: 0Answers: 0
    m facing the same problem. Can u help me with this? I am not able to use the fnCellRender with "collection" type even if I used it inside the aButtons
  • jsidhujsidhu Posts: 7Questions: 0Answers: 0
    figured it out.
    thx!!
  • allanallan Posts: 61,431Questions: 1Answers: 10,048 Site admin
    Yup - that's a bug. I'll get this fixed shortly.

    Allan
  • allanallan Posts: 61,431Questions: 1Answers: 10,048 Site admin
    Oops - I misunderstood the question when I wrote my response originally. You are correct, the collection buttons do not extend their properties for the parent. I agree they probably should, but that's a major new feature to be added rather than a little bug fix. It is something I will add in future though!

    Allan
This discussion has been closed.