Hi,
thanks for your post, and sorry for the trouble.
I’m not really sure what you mean here. Can you clarify this some more?
Regards,
Tobias
Hi,
I have this table :
https://framapic.org/cTjsGBVtOd6V/MJuFYBso
When I deploy with the “+” image, I have the last column “email”, but I would like to have “phone” too.
https://framapic.org/cL75r2PH1Fhk/19vZXHoK
I don’t know what shortcode use…
Hi,
thanks for your post, and sorry for the trouble.
That’s a little bit tricky. You will have to add a “Custom Command” for this, which tells the DataTables JS library which columns to show in the expanded row.
For an example and details on that, please take a look at https://wordpress.org/support/topic/defining-columns-to-collapse-1?replies=12
Regards,
Tobias
Thank you.
Too tricky for me… I can’t really understand what is the process…
Have a nice week !
Hi,
yeah, it’s not that trivial, unfortunately 🙁 One basically has to play with CSS classes that are assigned via a “Custom Command”.
Another idea could be to move the “Phone” column to the end of the table and then increase the width of the other tables. That should also push the Phone column to the extra rows that open.
Regards,
Tobias