• Resolved SeeThrough Web

    (@seethroughweb)


    Hi there.

    Is there a way to set the number of columns showing in collapse mode? We’d just like to have 1 column – like on the phone – and have everything else “inside” (you have to click to see it).

    Thank you

    Simon

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, that’s possible. Please add this to the “Custom Commands” text field on the table’s “Edit” screen:

    "columnDefs": [ { "className": "none", "targets": [ 1, 2, 3, 4 ] } ]

    The list in the targets parameter is the list of columns which you want to only show when clicked. The 1 refers to the second column (counting starts with 0 for the first column). Simply adjust this as needed.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Collapse mode: number of columns showing’ is closed to new replies.