Skip to Main Content


How to modify Go button action in search bar in oracle apex?

Madhwal.17Apr 7 2022

I have an interactive grid with search bar and I want to add dynamic action after clicking on Go button, How can I achieve this.

Problem I want to limit the usage of filters for users to one filter at a time.
So, to check the filters and then removing them i am using javascript code which runs fine.
//js code to remove filters
var vRegion = apex.region("fg-grid");
var vFilters = "getFilters" );
var totalfilters = 0;
for ( var i in vFilters ){
totalfilters += 1;
var totalRec = apex.region("fg-grid").widget().interactiveGrid("getViews", "grid").model.getTotalRecords()
console.log("total rows: "+ totalRec);
console.log("total filters : "+ totalfilters);
for ( var i in vFilters ){
if ( totalfilters > 1 ){
if (i==0){ "deleteFilter", vFilters[i].id );
if (totalRec == 0){
But the problem arises when to fire this code .
Thank You in advance..

Post Details
Added on Apr 7 2022