Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2585
Rebind Headers of IGGrid
posted

I have to rebind my grid with new datasource( JSON) which has different columns ( but # of columns are fixed) every time.

 For example on button click event I call below function and pass data with new node data  and header text

 function bindTable(nodeData, header) {

    $("#grid").igGrid({

        dataSource: nodeData, //JSON Array defined above

        columns: header

    });

 

}

 Data is getting changed but column headers are not getting change , how I can do this in Iggrid to have the header values updated along with the data in the grid?

Parents Reply Children
No Data