Topic: i want to apply jquery toggle slide in table columns and tables

NABEEL MUHAMMAD free asked 2 years ago


https://mdbootstrap.com/snippets/standard/nabeel_muhammad/3599171#html-tab-view

i want to apply slide toggle jquery in that table and i tried my best to make it happen but it went opposite.. please respond as quick as you can thank you...!!! here's the link i mentioned above..


Michał Duszak staff answered 2 years ago


Delete .hover-shadow class from the container, as it interferes the slideToggle() method. Then simply call it on an event.

https://mdbootstrap.com/snippets/standard/m-duszak/3599464#js-tab-view

$( "#clickMe" ).click(function() {
  $( "#table" ).slideToggle( "slow", function() {
    // Animation complete.
  });
});


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes