tables(0) returns all tables
tables(0) returns all tables
kthorngren
Posts: 21,352Questions: 26Answers: 4,955
Using tables(0)
returns all table API instances where tables(1)
returns a single table. My expectation is tables(0)
will retrun only the first table. Here is the example:
http://live.datatables.net/wiragogo/1/edit
Ordering tables(0)
orders all the tables but ordering tables(1)
orders only the second table.
Kevin
This discussion has been closed.
Replies
Yep, agreed, something odd going on there - the
table-selector
doesn't seem to respond to arrays either, which it should. I've raised it internally (DD-1403 for my reference) and we'll report back here when there's an update.Colin
p.s. happy Easter to you and yours
Thanks. Happy Easter to you and your family!
Kevin
Hi Kevin,
Many thanks for the excellent test case, as always. Took me right to the source of the error. I've committed a fix for it now and it will be in the nightly build shortly (rebuilds take about 10 minutes).
Allan
... and unit tests updated so it'll get caught in the future
Colin