Changing columns dynamically with angular-datatables

后端 未结 2 504
刺人心
刺人心 2021-01-28 06:29

I am using angular datatables, an angularized version of the popular jquery datatables library.

Here is my html



         


        
2条回答
  •  孤城傲影
    2021-01-28 06:52

    Use this

    dtColumns.push(DTColumnBuilder.newColumn('ColumnC').withTitle('ColumnC'))
    dtColumns.push(DTColumnBuilder.newColumn('ColumnD').withTitle('ColumnD'))
    

提交回复
热议问题