I want to export data into an excel sheet on the click of a button which has other actions too

I want to export data into an excel sheet on the click of a button which has other actions too

chiragmurali38chiragmurali38 Posts: 1Questions: 1Answers: 0

buttons: [
{
extend: "excel",// this is not working
text: Export,
action: function(e,dt,node,config){
var prev=$('select[class="jira-filters"]').val();
$('select[class="jira-filters"]').val("Client related CRs").change();// data to be exported
/* export option here*/
$('select[class="jira-filters"]').val(prev).change();// reverting back to the last state
}

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • kthorngrenkthorngren Posts: 21,545Questions: 26Answers: 4,988

    See if this thread asking a similar question helps. If not then provide the test case Colin asked for.

    Kevin

This discussion has been closed.