Hey everyone!
With the holiday season upon us, we want to share our upcoming working hours:
- New Year: Our team will be off on January 1st and 2nd. We’ll be back on Friday, January 3rd, to respond to any messages received during this time.
- Weekend: As usual, we don’t work on weekends, so January 4th and 5th will also be non-working days.
- Orthodox Christmas: Our office will be closed on Monday and Tuesday, January 6th and 7th for the holiday.
After that, we’ll return to our regular schedule and assist you as quickly as possible.
In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.
Thanks a bunch for your understanding and support!
Warm regards and happy holidays!
TMS
Hello, I have two questions about responsive table layout.
1. Is it possible to make it so that only one row can be expanded?
By that I mean that when one is clicked, the other is closed?
I found a solution for a similar situation , but I am not sure if or how to use it for your plugin.
Solution here: https://datatables.net/forums/discussion/73436/jquery-datatables-expand-only-one-row-at-a-time
2. I need a url link to an open table row. The responsive table has n rows , I need to link to one of its items - expanded details. Is there any method to achieve this ?
I don't expect from you the whole solution just a slight hint.
(The second point I'm addressing is the inability to point the JSON path to a dynamic link e.g.
ticksy.com/json/(currentID) - or is there a method to achieve something similar ? )
thanks for the advice
Have a nice day
Martin Š.
Attached files: our_table .png
Hi Martin,
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am truly sorry to disappoint you, but for both of these questions/ use cases,
we currently don't have any 'out of the box' solution,
but we also don't have any working custom workaround that we could share to accomplish it.
1. In regards to having that 'linked behaviour' between multiple rows, as you described,
to have one row expand but if row X is clicked, then row Y should collapse,
at the moment we don't have a valid solution.
You can suggest it to our developers - they will do their best to make a solution in the future.
Please feel free to search on our suggestions page,
to see if someone may be already suggested this feature.
If you can't see it, feel free to add your suggestion there, and as more people vote, the feature will move higher on the priority list.
You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;
and our newsletter, so you're informed about new features, bug fixes, freebies, etc.
If you have coding skills and wish to try to make a custom solution now,
you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.
Please be advised that custom solutions with hooks are not included in our support.
You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.
Maybe this can be done with some custom work,
by adding some custom "event listener" with JS,
but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in the near future.
( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)
2. Yes, at the moment for a dynamic custom link like that, we also don't have a valid workaround that we could share.
I know we have the custom dynamic links available if you use an SQL Query based table,
then you can construct an SQL Concat for custom links,
but for the use case you described, and to open an expanded row, at this moment we don't have an advice what you might try in terms of combination of custom options.
Our developers will do their best to add more custom examples to our Documentation with Hooks for developers, as soon as possible.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 Milos, the easiest way to solve my task, was to create a php "template" and attach a json endpoint .
So I created a json "table" without the wpdata tables plugin - but maybe it wouldn't be too hard to create some
"builder" as part of the wpdatatables plugin :)
(such as:
/*
Template Name: JSON Table
*/
$id = $_GET['id'];
$jsonSource = "http://10.5.1.26:2908/dbozakazky/montaz/jednotlive/{$id}";
// Odeslat HTTP požadavek na získání JSON dat
$jsonData = file_get_contents($jsonSource);
// Dekódujte JSON data do pole objektů
$data = json_decode($jsonData);
<?php
foreach ($data as $item) - lot of echoes ...
Hello,
To begin, I want to extend my heartfelt apologies for the delayed reply,
which is due to an unexpectedly high volume of inquiries.
We truly value your patience during this period.
-
Thank you very much for sharing your workaround custom solution with us.
I will share it with our developers, it will help them for future development.
Thanks again, and please don't hesitate to open new tickets if anything else comes up that we might help with.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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