Replies: 1 comment 1 reply
-
Hi, Question 1 I don't know how the responsive plugin works under-the-hood. I suspect it adds/removes DOM nodes acc. to the user's viewport (desktop, tablet or mobile). You will need to reach out to DataTables.net forums for that information. Regarding your feature implementation, I do not fully understand it. Did you mean that whenever a user clicks on a + If this is your requirement, I may have an alternative for you. Using the TemplateRef feature in recent versions of this plugin,there's a way to inject any Angular component into a Question 2 I will need you to provide a small reproducible repo or StackBlitz link to investigate. It could be anything from an incorrect Ajax request or your server failing to process the said request.
You can test this yourself. Just use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
always super happy to work with this table, I have few question on he DT responsiveness extension ....
QUESTION 1
Do I understand correctly that it allow to eventually display multiple -- kind of -- sub-rows below one given row when clicking on its + button
My interrest here is the following : I have some references and for each of them potentially from 1 to N versions with some rules.
By default I will display the most appropriate version but it could be nice if by clicking on this + button it could open the space below the concerned row and show me the remaining N-1 version that potentially could exist ...
QUESTION 2
I tried to put the code in place exactly as it was written in the example
but I got an error : DataTables warning: table id=DataTables_Table_3 - Ajax error. For more information about this error, please see http://datatables.net/tn/7.
In fact my table is taking its data from a small observable service .. if you remember I put a post and you helped me indicating me that in this case I should put a dtTrigger.next() in the result of the subscribe method so that the table load the data ...
so my HTML code is this one :
is it because my m_DataInPage04 structure has not exactly the same name as what you are expecting but instead _FName and _LName ?
Thanks a lot for yoru coming help
Beta Was this translation helpful? Give feedback.
All reactions