() {
    var selectedObjects = csvTable.selected;
    function _export() {
        APIExportCSV({
           listUrl: csvListUrl,
           objectsId: selectedObjects,
           table: csvTable
        });
    }
    if (csvExportCallback) {
        csvExportCallback(_export)
    } else {
        _export();
    }

})
</script>
