fnSelect not working

fnSelect not working

scholzm83scholzm83 Posts: 5Questions: 2Answers: 0

Hi all,

in Datatables 1.10 with Tabletools 2.2.1 fnSelect is not working when the button has "sAction": "flash_save". If i uncomment sAction it works. Any Ideas??

Thanks, Martin

Answers

  • scholzm83scholzm83 Posts: 5Questions: 2Answers: 0

    I got it. I add an select handler to fnFlashConfig

    "_fnFlashConfig": function (nButton, oConfig) {
                        var that = this;
                        var flash = new ZeroClipboard_TableTools.Client();
    
                        if (oConfig.fnInit !== null) {
                            oConfig.fnInit.call(this, nButton, oConfig);
                        }
    
                        if (oConfig.fnSelect !== null) {
                            TableTools._fnEventListen(this, 'select', function (n) {
                                oConfig.fnSelect.call(that, nButton, oConfig, n);
                            })
                        };
    
This discussion has been closed.