dom t missing, no select possible on visible table...
dom t missing, no select possible on visible table...
Lapointe
Posts: 430Questions: 81Answers: 4
I just discover this evening why I could not select any row on a subtable...
The table is displayed, react to events, row can be selected via code, but none selection possible, because of... t was not in dom.
This discussion has been closed.
Replies
Not sure why that would matter. Here is a nested child Datatable example that
dom: "t"
is commented out and it works.http://live.datatables.net/sojoyahe/4/edit
If you want help debugging please provide a test case showing what you are doing.
Kevin
hi Kevin
Thank for your answer.
In my case I use 2
<
div> to show 2 separates editors as https://editor.datatables.net/examples/advanced/parentChild.html
if not t in dom for child table, no possibility to select row, but they are shown
Bob
Are you saying you have something like
dom: 'lf' without the
t` and you can't select rows like this example?http://live.datatables.net/hokipeni/1/edit
Its interesting the the table shows without the
t
. Is there a reason you don't want thet
as part of thedom
option?Kevin
hi @kevin
yes dom was 'B' only (not lf), because a subtable and no need to paginate or other options, else delete and create buttons
so while the table appears, I was not in search on a missing letter in dom definition, and could not explain why select was possible using code and no select possibility...
As in your example, table is shown and no select is possible
Thanks
Bob
I'm not clear why you don't want use
t
, ie,dom: "Bt"
. Is there a reason you don't want to uset
?The
dom
docs state to uset
to place the table element. Sounds like not using it has an affect in other areas of Datatables.Kevin
Hi @kevin
In fact I use now Bt nor B... I was just searching why I could not select any displayed rows, and find it was because not t used
Thanks