How do you change the drop down animation speed for DataTables buttons

How do you change the drop down animation speed for DataTables buttons

ZeshueToralZeshueToral Posts: 12Questions: 4Answers: 0

The default animation speed for DataTables drop down buttons (ie colvis and pageLength) is quite slow. Is there any way to alter this animation speed so it comes up faster? I tried using CSS to do this via by using transition-duration: 0.1s;, but this caused the drop down to transition in quickly, then resume fading in like normal after that (via JS I would assume, since this didn't actually overwrite it).

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,506Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Use the fade property of the the collection (which colvis and pageLength both inherit from). It is measured in milliseconds.

    Allan

Sign In or Register to comment.