filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Can't trigger Tablesaw inside Bootstrap Carousel #228

Closed MrFurther closed 8 years ago

MrFurther commented 8 years ago

I have 2 tables on 2 different items/slides of a Bootstrap Carousel. The table on the first slide will get triggered and work without problems, but the rest of tables inside other slides, won't.

I've tried triggering on event, but no luck:

$('.carousel').on('slide.bs.carousel', function () {
    $( document ).trigger( "enhance.tablesaw" );
});

You can see the issue in the Plunker.

What am I missing?

zachleat commented 8 years ago

I’ve added some additional documentation here: https://github.com/filamentgroup/tablesaw#manual-initialization-of-tablesaw-components

You may want to remove the tablesaw-init.js file.

zachleat commented 8 years ago

Please reopen if that wasn’t it!