fnDrawCallback for server side datatables ?
fnDrawCallback for server side datatables ?
Hi, I am using DataTables with server side datasource. A few exta rows should be generated, content is delievered through the JSON object from the server. In my special case I need to show a table about files and folders, those folder names are inside the JSON object. Because folders should look different (colspan etc.) I need to generate them through JavaScript. I've searched a callback which gets called after fnDraw is done to place my row generation there but from fnDrawCallback I cant access the JSON object. Any ideas solving my problem?
PS: I'm using newest Datatables + jQuery 1.9.1 (+migrate library).
Kind regards, peipst
PS: I'm using newest Datatables + jQuery 1.9.1 (+migrate library).
Kind regards, peipst
This discussion has been closed.
Replies
Allan
Works perfectly, thanks allan!