Quick Search Button

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Quick Search Button

Post by ronwill » 2018-04-08 04:18

Hi,

I would like to be able to have functioning quick search button on Detailed View pages just as it shows (position etc.) on the Table views, for all pages.

Can anyone tell me how I can do this as so far I'm not getting there!

Cheers,
Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

R Tammam
Veteran Member
Posts: 113
Joined: 2017-08-26 15:35

Re: Quick Search Button

Post by R Tammam » 2018-04-16 12:57

Hello ronwill,
you can do it by inserting the following html code in tablename-dv.js using jquery

Code: Select all

<input type="text" id="SearchString" name="SearchString" value="" class="form-control" placeholder="Quick Search">

<button name="Search_x" value="1" id="Search" type="submit" onclick="document.myform.SelectedID.value = ''; document.myform.NoDV.value=1; return true;" class="btn btn-default" title="Quick Search"><i class="glyphicon glyphicon-search"></i></button>

<button name="ClearQuickSearch" value="1" id="ClearQuickSearch" type="submit" onclick="$j('#SearchString').val(''); document.myform.SelectedID.value = ''; document.myform.NoDV.value=1; return true;" class="btn btn-default" title="Show All"><i class="glyphicon glyphicon-remove-circle"></i></button>

Post Reply