Changing text on Filter Tab

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Changing text on Filter Tab

Post by kanklovitch » 2020-04-03 15:48

Some of my users don't realize that the Filter tab is meant for searching. Can I change the text to read Search Filter?

User avatar
wsiconcrete
Posts: 18
Joined: 2015-04-27 16:39
Location: SC, USA

Re: Changing text on Filter Tab

Post by wsiconcrete » 2020-04-18 05:18

May be a better way to do this, but was curious so I tried the following and it works for me (AG 5.82)

Add the following to your tablename-tv.js file:

Code: Select all

jQuery(function () {
$j('#Filter').html('<i class="glyphicon glyphicon-filter"></i> Search');
});
Assuming there are no other uses of the element id "Filter" within AG or your specific app you could drop it into your header-extras.php and the change would apply to all table views.

Brandon

Post Reply