Var elem = document.getElementById(‘nmsc_iframe_liga_form2’) //grab the detail formĮlem.src = elem. Allows to define the field that will be reloaded when selecting a value that has the (onChange) trigger. Save the button and in the ajax code editor add just this line: echo ‘test’ Now run the grid. Set the icon (it’s mandatory) for the State1 state, that it’s created by default, to any FontAwesome icon. Go to the action bar setting and create a new action bar button of type ajax. Sc_ajax_javascript($javascript_function, $javascript_parameters) //this calls javascript in ajax events Created javascript function refreshdet and have the following in it: Add the Reload button to the grid toolbar. $javascript_parameters = array( ) //javascript parameters – don’t have any In this example we will see how to create and use the Ajax event in the grid application that allows to traffic information without reloading the page. “’” //change this to meet your where filter as necessary $javascript_function = ‘refreshdet’ // Javascript function name Here is what I finally ended up doing.Ĭreated an ajax onChange event for each field on form1 necessary and in thoset events, I have the following code: Knowledge Base Scriptcase Scriptcase Applications Using Ajax Processing (Refresh) In this article we will learn how to use the 'Ajax Processing' function available in Scriptcase. A automatic refreshing grid will be just the thing. it logs in the database as work is done). I have some parts of an application where I plan for the user to get updates on how a background process is doing (i.e. Re: Refreshing form based on changed values in master formįinally figured this out. The Grid / Settings / Refresh Interval in seconds is very interesting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |