Hi,
i am trying to reset search filters by a button on toolbar, the button must clear search filters and reload grid data.
how can I do it?
thanks
Andrea
Hi,
i am trying to reset search filters by a button on toolbar, the button must clear search filters and reload grid data.
how can I do it?
thanks
Andrea
Re: Reset button for search filters on a grid
You have us back button to go back to your grid
Note:
You have to enable “exit” button on the application, It will be changed to “back” button at run time
Regards
Dhana
Re: Reset button for search filters on a grid
In grid->search->toolbar there is “clean” button that does exactly the thing you need - resets form data.
Re: Reset button for search filters on a grid
I need to reset the grid directly from the main grid page, without access the search menu. The way you propose isn’t easy to understand for a low level user. I am looking for a sc macro function that cleans search filters.
Re: Reset button for search filters on a grid
pirand81,
You can create Button and call sc_redir macro calling the same application
sc_redir(‘grid_urw_userrights_change’,v_username=[v_username]);
If you have parameter, then call sc_macro with parameter
Regards
Dhana
Re: Reset button for search filters on a grid
I think that is like Dhana said.
If you call the application without parameters … the application should open “clean”.
Re: Reset button for search filters on a grid
diogo,
Note, the application has to be called with parameter as is…!
I have tested some sample, work for me
Regards
Dhana
Re: Reset button for search filters on a grid
nice.
Re: Reset button for search filters on a grid
My method for clear any search (fast search / regular search):
1.- Create a javascript button
2.- insert the code:
document.F0_top.nmgp_arg_fast_search.value=’’;
document.F0_top.nmgp_opcao.value=‘fast_search’;
document.F0_top.submit();
As fast as easy…
Regards,
Antonio Garcia from Spain