![]() ![]() 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). How can we integrate a Tab Application within another Application It’s currently not possible to do it inside the following Application types: Dashboard Form Control The only way I was able to do it is from a Menu which does not help me a lot. autorefresh of data grid, when app get focus ?> This event occurs when the form application is reloaded, is possible to reload the form based on fields (select, radio, checkbox) or using the toolbar's Refresh button. So i created this code on the event “onFooter” of the grid: Hi, you should be able to reload just the iframe by calling a javascript method. 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. These functions are called “Scriptcase Macros”.I had a similar problem. earlier.).Īny event can use pre-defined functions (macros) that are available in Scriptcase. onLoad – This event occurs when the page is loaded, ie when navigating from one record to another one, clicking on the buttons (new, insert, etc.onAfterDeleteAll – This event runs after the elimination of all records.onBeforeDeleteAll – This event is executed before the removal of all records.onAterUpdateAll – This event runs after updating all records.onBeforeUpdateAll – This event runs before updating all records.onAfterDelete – This event runs after the deletion.onBeforeDelete – This event is executed before the deletion.onAfterInsertAll – This event runs after inserting all records.onBeforeInsertAll – This event runs before inserting any record.Responsive Desktop : By checking this option the Chart will automatically adapt itself to the user’s. Below detailing each of the available attributes. onAfterUpdate – This event runs after updating a record. In the chart Setup screen the user can change some application viewing options, which charts will be displayed, the labels, margins and alignments.onBeforeUpdate – This event runs before updating a record.onAfterInsert – This event runs after insert a record.onBeforeInsert – This event runs before insert a record.onValidateSuccess – This event runs if the validation is successfully.onValidateFailure – This event runs if the validation is failured.onValidate – This event runs by clicking on the validation (OK, Update, Insert, Delete, Filter) depending on application.onLoadRecord – This event occurs when the page is loaded before printing each record.onRefresh – This event runs to reload the page of the application.onScriptInit – This event runs when the application is loading.onNavigate – This event runs when navigating from one record to another one. ![]() onApplicationInit – This event runs when the application is loading just for the first time.Here is a list with the most used events in each application in Scriptcase: Events are oportunities created by the Scriptcase to the developer insert his own code in order to customize the applications, each event will run in a different period of time making the business rules creating even more easy.Įach application has different events because they have different definitions, for example, in the grid application there is the onRecord event, only exist on grid applications, that will run one time for each line loaded in the grid application, on form and control applications there is the onValidate event that will run every time when the appliation is submited.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |