Responsive Column Customization on Mobile

Responsive Column Customization on Mobile

healthhakimhealthhakim Posts: 1Questions: 0Answers: 0

Hello, I am having issues with columns.responsivePriority operation. Currently, I am using the Tablepress WordPress plugin and I want to achieve priority column responsiveness. What I mean is see the table on this page: https://healthhakim.com/best-ac-in-india/ on mobile. On a mobile device, the column four (Check Price) gets hidden automatically but I have other tables which have four column and desktop but the fourth column does not get hidden!

Please help me out here...
I have used this code on the edit section of Tablepress, but its not working: columnDefs: [ { responsivePriority: 1, targets: [ 4 ] } ]

Replies

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

    Hi @healthhakim ,

    Could you give some information on what you would expect to happen? If there's no space for the entire row to be displayed, then some rows will be removed. Are you saying you want the price (the final column) to remain, and other columns to be removed first?

    Cheers,

    Colin

This discussion has been closed.