I am importing a large table of documents from excel where the first column is document category. Each document category then has multiple documents within the category, i.e. the category 'Leadership and worker Participation' has 6 documents as shown on the attachment.
I have worked out how to group documents under their categories, unfortunately this creates a massive table displaying all the documents .
What i want to do is just show each category and then click on the category to show all the documents within it. Wordpress does this with Accordian plugins where all the data has to be added manually.
Is there a way to create this using your table functionality, I know you can show all then filter, what i want to do is show the categories and then expand to show the files within each category?
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
To make it look similar to this, the only way would be to have the "Category" in one column, and all documents saved as columns next to this column. Then, you could use the Responsiveness feature, hiding all those other columns on tablets. In wpDataTables settings, you can set the tablet's width to be 2000 (for example), so all screens below 2.000px in width are considered as tablets, and all those columns are hidden on all screens.
I am importing a large table of documents from excel where the first column is document category. Each document category then has multiple documents within the category, i.e. the category 'Leadership and worker Participation' has 6 documents as shown on the attachment.
I have worked out how to group documents under their categories, unfortunately this creates a massive table displaying all the documents .
What i want to do is just show each category and then click on the category to show all the documents within it. Wordpress does this with Accordian plugins where all the data has to be added manually.
Is there a way to create this using your table functionality, I know you can show all then filter, what i want to do is show the categories and then expand to show the files within each category?
Hello Chris.
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
To make it look similar to this, the only way would be to have the "Category" in one column, and all documents saved as columns next to this column. Then, you could use the Responsiveness feature, hiding all those other columns on tablets. In wpDataTables settings, you can set the tablet's width to be 2000 (for example), so all screens below 2.000px in width are considered as tablets, and all those columns are hidden on all screens.
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