Missed api functionality for export with buttons outside sDom
Missed api functionality for export with buttons outside sDom
wjshohs
Posts: 29Questions: 0Answers: 0
With "aButtons" parameter I could setup only actions on buttons which are in sDom. But I can't implement it to html elements outside datatables DOM.
For exml I could do it for pagination elements like to have on some element event:
__currentPageNum = $("#page_number").val();
oSettings._iDisplayStart = oSettings._iDisplayLength * ($("#page_number").val() - 1);
oSettings.oApi._fnCalculateEnd( oSettings );
oSettings.oApi._fnDraw( oSettings );
But I didn't see something for exporting. I could get data with fnGetTableData function.
For exmpl if i need to add some event to some html element by id than
how could I send this data to swf and how could I run to open save file tabletools window?
For exml I could do it for pagination elements like to have on some element event:
__currentPageNum = $("#page_number").val();
oSettings._iDisplayStart = oSettings._iDisplayLength * ($("#page_number").val() - 1);
oSettings.oApi._fnCalculateEnd( oSettings );
oSettings.oApi._fnDraw( oSettings );
But I didn't see something for exporting. I could get data with fnGetTableData function.
For exmpl if i need to add some event to some html element by id than
how could I send this data to swf and how could I run to open save file tabletools window?
This discussion has been closed.