The responsiveness feature is awesome on tablet and mobile, I have a request that how I can use it on desktop.
my problem is that I don't want to use "word wrap" and horizontal scrolling on desktop and I have fields with so much text and I want to rows to stay on minimum vertical size
two possible solution came to my mind:
1. using responsiveness feature by default on all screen
2. adding a new "Open" button next to Export for everyone which by selecting a row and clicking on it , it opens a modal like "Edit" button except fields are not editable.
I'm trying to figure out and implement one of these solutions but first I wanted your thought and helps on it.
I understand - You'd like to use the responsive feature on desktops as well as on mobiles and tablets.
This is easily achievable with a little workaround. Please checkout the video in our documentation, around 01:00. It shows how You can change the tablet width to be large enough for desktops to be considered tablets.
so it shows the "..." if the text overflows, I tried a bunch of css options with white-space it wraps the text but the max-height it won't expand to show all the texts in that column.
It would be great if you can give me some ideas about it.
I'm glad to hear you found the solution for responsiveness feature on desktops.
As for the other issue, can you please provide me the URL to the table where this happens?
Or even better if it would be possible, could you please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Hello,
The responsiveness feature is awesome on tablet and mobile, I have a request that how I can use it on desktop.
my problem is that I don't want to use "word wrap" and horizontal scrolling on desktop and I have fields with so much text and I want to rows to stay on minimum vertical size
two possible solution came to my mind:
1. using responsiveness feature by default on all screen
2. adding a new "Open" button next to Export for everyone which by selecting a row and clicking on it , it opens a modal like "Edit" button except fields are not editable.
I'm trying to figure out and implement one of these solutions but first I wanted your thought and helps on it.
Thanks
Helllo abdoshajadi.
Thank You for Your purchase.
I understand - You'd like to use the responsive feature on desktops as well as on mobiles and tablets.
This is easily achievable with a little workaround. Please checkout the video in our documentation, around 01:00. It shows how You can change the tablet width to be large enough for desktops to be considered tablets.
Please let me know if this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
The solution worked the only problem is that the column value after we expand has following value
.wpdt-c .wpDataTablesWrapper table.has-columns-hidden tr.row-detail > td ul li span.columnValue {
position: absolute;
top: 0;
left: 123px;
max-width: 750px;
min-width: 200px;
max-height: 32px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
so it shows the "..." if the text overflows, I tried a bunch of css options with white-space it wraps the text but the max-height it won't expand to show all the texts in that column.
It would be great if you can give me some ideas about it.
Thanks
well I found the solution, the following css works perfectly with "Light" skin but not Aqua skin
.columnValue {
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
word-break: break-all;
white-space: normal;
}
Hello again abdoshajadi.
I'm glad to hear you found the solution for responsiveness feature on desktops.
As for the other issue, can you please provide me the URL to the table where this happens?
Or even better if it would be possible, could you please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables