omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
258 stars 115 forks source link

<table> instead <div> on table's placeholder #74

Closed Fasterpast closed 5 years ago

Fasterpast commented 5 years ago

Hi, here https://datatables.net/manual/tech-notes/2 you can see that using <table>tag in HTML code is obligatory with DataTables, however when i'm changing <div> tag (from example and which works fine) <div id="presidents">Loading...</div> to <table> the table becomes unloadable. I want to use <table> because such constructions (enabling extensions on client-side) var table = $('#table').DataTable(); throw errors which described on page above.

Fasterpast commented 5 years ago

You should post an issue to realize how it works )) In all client side extensions I should use dt variable to make it work.

Sorry...

curry684 commented 5 years ago

Awesome if an issue solves itself 😉