Is it possible to modify the front-end view of a table via the shortcodes, or to define multiple views (eg. visible columns) for one table?
I have a table with many columns, and I would like to display the table showing only 3 of the columns. I then want the user to be able to select a row, and press a button to go to another page. The second page will display the same table (but only the selected row), with other content (not from the table).
Basically, I want to show different views of the one table on different pages.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Sorry for disappointment, but it is not possible do ti via shortcode. What you can do is to duplicate that table and then set for both tables which columns will be hidden on front-end with option Visible on front-end in Column settings for each column or with Complete Columns List button.
OK, what if I create a view in mySQL which duplicates the table, and then create a wpDataTables link to the view? I should then have 2 wpDataTables that show exactly the same data, but that I can create 2 different front-end views for.
Yes you can do that even without view,just make another table with same query and you will have two tables with same data but different id and then that you can modify how you want them separately.
When you duplicate table or make two separate table with same query they will be point every time on same table. So when users change data on both tables it will be update only one table and both tables will be updated on front-end.
Is it possible to modify the front-end view of a table via the shortcodes, or to define multiple views (eg. visible columns) for one table?
I have a table with many columns, and I would like to display the table showing only 3 of the columns. I then want the user to be able to select a row, and press a button to go to another page. The second page will display the same table (but only the selected row), with other content (not from the table).
Basically, I want to show different views of the one table on different pages.
For example:
Page 1:
[table 1]
[column 1] [column 2] [column 5]
Page 2:
[table 1]
[column 1] [column 3] [column 4] [column 6]
Can this be done?
HI dinus,
Thank you for your purchase.
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Sorry for disappointment, but it is not possible do ti via shortcode. What you can do is to duplicate that table and then set for both tables which columns will be hidden on front-end with option Visible on front-end in Column settings for each column or with Complete Columns List button.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
OK, what if I create a view in mySQL which duplicates the table, and then create a wpDataTables link to the view? I should then have 2 wpDataTables that show exactly the same data, but that I can create 2 different front-end views for.
HI dinus,
Yes you can do that even without view,just make another table with same query and you will have two tables with same data but different id and then that you can modify how you want them separately.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Thanks Milan, but I need the tables to remain the same as the data is updated, new records added, etc.
Having a view based on one table will keep things in sync and allow me to have two different views of the same data on the front end.
Hi dinus,
When you duplicate table or make two separate table with same query they will be point every time on same table. So when users change data on both tables it will be update only one table and both tables will be updated on front-end.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables