I'm wondering if there is a simple way to colorize the FILTER button whenever a filter is set (and to reset it after filters are rested). This would help users understand why an entry in the quick search field doesn't offer the expected records.
Thanks for your suggestions.
Filter Button color
Re: Filter Button color
That's a really good suggestion for a helpful UX enhancement. You can add the following code to hooks/footer-extras.php:
Code: Select all
<script>$j(() => {
const filtersApplied = $j('[name^=FilterField]').length > 0;
$j('#Filter.btn')
.toggleClass('btn-warning', filtersApplied)
.toggleClass('btn-default', !filtersApplied)
})</script>
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: Filter Button color
Hi Ahmed,
thanks for the code. Really a nice addition.
Olaf
thanks for the code. Really a nice addition.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: Filter Button color
Hi Ahmed,
absolutely perfect.
Thank you very much
Klaus
absolutely perfect.
Thank you very much
Klaus