I have wpDatatables and the formidable add on. I have multiple formidable quizzes and I am using wpDatatables to show the results to teachers. My issue is I am having students from different institutions take the quiz and I don't want teachers to see the results from other institutions. Is there a way to pre-sort the data in a way that does not allow the user to filter it.
With built in features you have option Filter by date in FORMIDABLE SETTINGS and also Filtering by each column separately.
If option Filter by date is not what you are looking for, then there is some solution (not perfect) where you can set Predefined values on FILTERING tab in column settings where you can insert value that will filter the table by that value. Then with CSS you can hide filters, so teachers will see only what you filter for them.
Please note that if teachers have knowledge about web and browser DOM then can find it with Inspect element of the browser and change that CSS and see all the filters.
Unfortunately, we don't have such tutorial. What you need to do is to check in Inspect element of the browsers which classes have those filters and then use that classes for CSS rule in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.
your_css_rule {
display:none !important;
}
This will be affected on all tables, but if you want just for specific one then insert this code on page where is that table between the style tag.(<style>Code here</style>)
I have wpDatatables and the formidable add on. I have multiple formidable quizzes and I am using wpDatatables to show the results to teachers. My issue is I am having students from different institutions take the quiz and I don't want teachers to see the results from other institutions. Is there a way to pre-sort the data in a way that does not allow the user to filter it.
Scott
Hi Scott,
Thank you for your purchase.
With built in features you have option Filter by date in FORMIDABLE SETTINGS and also Filtering by each column separately.
If option Filter by date is not what you are looking for, then there is some solution (not perfect) where you can set Predefined values on FILTERING tab in column settings where you can insert value that will filter the table by that value. Then with CSS you can hide filters, so teachers will see only what you filter for them.
Please note that if teachers have knowledge about web and browser DOM then can find it with Inspect element of the browser and change that CSS and see all the filters.
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
Unfortunately the filter by date will not work. Is there a tutorial on the second option (hide filters by CSS)?
Thank you
Hi fsjones,
Unfortunately, we don't have such tutorial. What you need to do is to check in Inspect element of the browsers which classes have those filters and then use that classes for CSS rule in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.
This will be affected on all tables, but if you want just for specific one then insert this code on page where is that table between the style tag.(<style>Code here</style>)
If you are not familiar with CSS please provide me a link where is this table, so I can take a look.
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