Column groups with Column ReOrder
Column groups with Column ReOrder
hii..here is my http://live.datatables.net/racihora/1 - three groups are there Office info , Hr info and showAll.if i click office info name,position,office are shown and if i click Hr info age,startdate and salary are shown. here my issue is after i drag salary column to 1st position and then i click office info salary,name,position are shown.now what i want is if i click the office info after reorder the column name,position and office column want to shown.can anyone help me,thank you
This question has accepted answers - jump to:
Answers
Hi @sathishkumar1 ,
Your issue is that when you identify the columns by their index, then if the column is moved, the indexes aren't updated.
To use the two extensions together, specify the columns by a class, as in this example here.
Hope that helps,
Cheers,
Colin
thank u for reply colin,what u answered is perfect but same thing i want help of colvis not buttons can you help mee.here testcase http://live.datatables.net/racihora/3/edit
thank you
ColVis is legacy software and is no longer supported. The column visibility plug-in for Buttons is its replacement.
Allan