How to call Datatable csv button from custom button

前端 未结 4 1990
攒了一身酷
攒了一身酷 2021-01-02 13:34

Need to call csv button from my custom button.

4条回答
  •  抹茶落季
    2021-01-02 14:12

    If you are trying to trigger the click event of another button and you are using jQuery (according to your tags), you can use

    
    

    This selects the element with the id "ExportReporttoExcel" and triggers a click with using jQuery.

提交回复
热议问题