Dynamically changing the file name of jquery Datatables exported excel using buttons api
<p>From Api:</p>

<pre><code>$('#myTable').DataTable( {
    buttons: {
        buttons: [
            {
                text: 'Alert',
                action: function ( e, dt, node, config ) {
                    config.title ="dynamic title"
                }
            }
        ]
    }
} );
</code></pre>

<p>This is changing the title, but export is not working now. Any suggestion or workaround will help.</p>