how can I hide the column numbers 1 and two

how can I hide the column numbers 1 and two

polachanpolachan Posts: 101Questions: 50Answers: 0

Hi
I want to hide the column 1, 2 from the data table details line. It has already showed on the datagroup so I dont need to show it again in detail line . So I have to hide the grouped column from showing in detail line again .I have given the script to hide the column but not working. Please give me suggested code to hide the column 1, 2 for the given example
https://jsfiddle.net/npq6ebog/

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,144Questions: 26Answers: 4,736
    Answer ✓

    The problem is that you defined columnDefs twice. The last one defined is the one that is used. Combine all the columnDefs options into one and it should work.

    Kevin

This discussion has been closed.