How to add a button at the end of data table display?

How to add a button at the end of data table display?

bench_codebench_code Posts: 14Questions: 4Answers: 0

**

$(".dataTables_wrapper .dataTable").after(` <button type="button">Arrange</button> `);

**I have datatable as above picture. If i want to add a button at the end of the datatable view, how do i do it?. I tried above jQuery code and worked well, but button is displayed at every page. Position of my button is ideal instead of no of records showing area(marked yellow) **:

Answers

Sign In or Register to comment.