how to implement the data table column visibility and order dynamically - Page 2

how to implement the data table column visibility and order dynamically

2»

Answers

  • senthur1994senthur1994 Posts: 17Questions: 2Answers: 0

    @kthorngren and @colin I am using below way to get data from server. After column reorder change applied if go to another pagination page or else the table header is looking after reorder column order. But table body data is looking default order from ajax. So i want a solution for after ajax call i want to customize data order to column reorder change order. How can do it?
    Please help me. Thanks.
    $('#example').dataTable( {
    "ajax": {
    "url": "data.json",
    "type": "POST"
    }
    } );

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    The only suggestion I have is to look at the browser's console for errors. Without seeing the problem and the code it will be difficult to guess what the problem might be.

    Kevin

This discussion has been closed.