Responsive - Buttons and scrollY

Responsive - Buttons and scrollY

ngungongungo Posts: 64Questions: 23Answers: 2
  1. How do I eliminate New, Edit and Delete buttons (and others in header or footer) in class mobile, for example.
  2. How do I assign different value of scrollY for different class.

Thanks!

Answers

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin

    How do I eliminate New, Edit and Delete buttons (and others in header or footer) in class mobile, for example.

    I would suggest using a CSS responsive media query to set the div.dt-buttons element to display: none.

    How do I assign different value of scrollY for different class.

    Read the class from the table ($().hasClass()) and use an if condition.

    Allan

This discussion has been closed.