• Resolved Amol Patel

    (@healthhakim)


    Hello TobiasBg,

    Here is my issue:
    I created a table for my blog post which works well for Desktop. Since I have added the resposive=collapse mode, it collapses on the mobile devices as well. But I DO NOT want a particular column to collapse on mobile.

    What I mean is please see the table on this URL on mobile version (https://10beasts.com/best-wireless-chargers/) the Check Price column does not collapse on mobile.

    How can I achieve this?

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

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    To achieve that, you could use the priority setting from https://datatables.net/extensions/responsive/priority that the DataTables JS library offers. To use that, please try adding this to the “Custom Commands” text field on the table’s “Edit” screen:

    columnDefs: [ { responsivePriority: 1, targets: [ 4 ] } ]
    

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Column Formatting on Mobile Device’ is closed to new replies.