Column groups with Column ReOrder

Column groups with Column ReOrder

sathishkumar1sathishkumar1 Posts: 11Questions: 4Answers: 0
edited April 2018 in Free community support

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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    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

  • sathishkumar1sathishkumar1 Posts: 11Questions: 4Answers: 0

    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

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    ColVis is legacy software and is no longer supported. The column visibility plug-in for Buttons is its replacement.

    Allan

This discussion has been closed.