JQuery expand / collapse table row

I have a table and it has rows that are compressed when I click on the table title.

The problem is that it does not seem very smooth, there is a lag and a jump when I click on the title and when the content is displayed. Does anyone know how to fix this?

See build & raquo; example

+3
source share
1 answer

Unfortunately, table rows do not expect (with jquery) - see this related question in SO: How to use the SlideDown function (or show) in a table row?

Work on using a div-based layout or try wrapping the contents of td in a div and animating these divs - see this script . Of course you need to configure css.

+4
source

All Articles