too long string in responsive Datatables dont work correct
too long string in responsive Datatables dont work correct
Hey guys,
i have a dataTable with the responsive extension and i have problems with long strings on the 2nd site (with pagination).
The responsive extension works pretty fine if the long string is on first site
watch the following fiddle: https://jsfiddle.net/zukii/m47qw2ss/3/
but if the long string is on 2nd site, the responsive extension gets problems and goes bigger then the container (the width is too large)!
watch the following fiddle: https://jsfiddle.net/zukii/m47qw2ss/2/
is there any solution for this problem?
Answers
Add
width="100%"
to your table: https://jsfiddle.net/m47qw2ss/4/Allan
Thanks for your quick response
Unfortunately this also don't work -> the 2nd site is still too large..
It only works on first site
I'm not sure what you mean by "site" I'm afraid. The updated fiddle I linked to appears to work okay for me. Does it not for you?
Allan
hey, thanks for your answer again
There is a pagination on bottom right and if u click there on "2" (2nd site). You will see the width="100%" don't work anymore. it becomes bigger then the viewport and the responsive state also don't trigger..
do you know / see what I mean?
additional there are 2 pictures...
greetings and thanks for your help
PS: If the long string is on first site, the whole datatable goes in responsive state and everything is fine... watch this fiddle: https://jsfiddle.net/zukii/m47qw2ss/5/
Yup - got it now. I see the issue and that does indeed look like a bug. I'm not immediately sure why that is happening I'm afraid. I've added it to my list!
Allan
What a pity how can I get informations, if this is fixed in future?
thanks for your help..
I will post back in this thread when it is fixed.
Allan
cool .. much tanks to you .. awesome support