Responsive column target not working

Responsive column target not working

jtoler5jtoler5 Posts: 86Questions: 31Answers: 3
edited November 2015 in Responsive

The following code does not appear to be working w/ responsive 2.0.0 ...

responsive: {
            details: {
                type: 'column',
                target: 21
            }
        },

It will turn the '+' into a '-' like it wants to do something but it never shows anything until I shrink my browser despite I have columns w/ class name "none", so they always so in child row.

Should note this was working before I updated Responsive to 2.0.0

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    Can you link to a test case showing the issue please.

    The issue might be related to the use of none. In Responsive 2 the preferred way to hide columns is to use DataTables' column visibility - columns.visible. Having said that, it should still work...

    Allan

  • jtoler5jtoler5 Posts: 86Questions: 31Answers: 3

    That helped me figure it out. I wanted certain rows to always be in the child row but I was using the class name 'none' and the columns.visible option set to false. This worked in responsive 1.0 but understand the conflict now.

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Good to hear you got it sorted out.

    This was the reason why it was a 2.x release rather than 1.1.

    Allan

This discussion has been closed.