Home ColVis, ColumnDefs and rowCallback in DataTable
Reply: 0

ColVis, ColumnDefs and rowCallback in DataTable

Duc Nguyen
1#
Duc Nguyen Published in 2018-01-13 04:35:41Z

I use AngularJS wrapper for DataTable (AngularJS-DataTable) to create table in my application.

I have a table with lots of columns, so when first rendering the table I only show main columns (using 'visible': true in ColumnDefs). I also have rowCallback function to show detail about each row data on click event (tutorial here).

I use the ColVis button to show/hide column(s) but when I show new column (apart from the main columns), the cells at this column do not trigger click event.

I searched and tried to fix but no luck.

Can anyone help me to solve this case?

Thanks in advance.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.304603 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO