Follows a table of all macros and special variables from ScriptCase, including the list of applications that works for each one.
Here we have two scenarios: 1 To use the macro in Forms ( Single Record ), Control and Calendar, you must use the application’s. SCRIPTCASE MACROS Scriptcase has macros and special variables that allow the user to manipulate events, buttons, applications, security control, manipulate with dates, etc. refresh the data inside a grid when the app get focusĪjax_navigate('fast_search', 'SC_all_Cmp_SCQS_qp_SCQS_') //this code is the same that executes sc when you do a quicksearch without any parameterĪnother method that reloads the grid (full page) when it gets focus $(document). The next and last step is to call our macro on the events. autorefresh of data grid, when app get focus ?> So i created this code on the event “onFooter” of the grid:
When executing all the fields are shown, and also the field 'state' which must be hidden by means of the change that is applied to the field 'familiaid'. But a work-around might be defining two buttons and use macros to hide the one. We save the changes and execute the application. Scriptcase has macros and special variables that allow the user to manipulate events, buttons, applications, security control, manipulate with dates, etc.
I need it to refresh a grid data when the app got the focus, to show updated data, every time my app (that was on a menutab) got focus. Now the macro scfielddisplay will be used by means of a condition that is going to hide or show a field dynamically: 3.