![]() ![]() ![]() (note: not using the standard JQuery id selector as I've found that sc_b_sai_t could be present twice or more on the same app) pre adding the reload function to whatever function is already in the onClick event of the exit button $('#main_table_grid', parent.document).contents().find('#reload_top').click() ĭocument.addEventListener('DOMContentLoaded', function() triggering a click on the grid reload button When the data in the tables are updated, the user needs to refresh the form to have the ability of select the new values. The is some Javascript that i can add to trigger an onClick on. The linked application is displayed inside an iFrame on the right. the modal form gets opened through an actionbar link. i am using a modal form that UPDATES a record in the grid. From the modal in onAfterInsert or onAfterUpdate you can do. scredir (myApp, myParams) or scredir (myApp, myParams, self) > the current modal. ![]() If I use scredir () from this modal form to get back to the family members grid, I get the following results: a. ![]() from this grid, I can open a modal app that performs actions through SQL. On the onScriptInit event of the modal form app: echo " I have the need to extend the edit of a grid ( application link ) not just clicking the pencil on the left but also clicking on any part of the row. The parent grid of the modal is the detail app. 1 detail is a grid with the family members of the client. If you have the reload button in the grid, your JS function on the app form could trigger a click on it just before exiting via the standard SC exit button (assuming the exit button is on top of the form, if it doesn’t work, all other elements names should be double checked). I have a form that lists customer notes and on that form I have an add note button link that brings up my modal form to add a note. sc_redir(myApp, myParams, “_blank”) => this closes the modal form and gets back to the caller family grid.The only way I know, is to create a JS function that will trigger e reload of the parent iframe containing the grid. Good evening, I have seen this question posted before but the posts were older and did not exactly cover my scenario. Edit : Select the application for the link and then click the Edit button. You have the options: Add : Click Add button, and then the following screen will be displayed for selection of applications. Hi, you should be able to reload just the iframe by calling a javascript method. sc_redir(myApp, myParams, “_parent”) => this closes the modal form but then the parent of the family grid is replaced with MyApp. Initially you must click on the tab that you need to update. Does not get back to the actual “caller” (the modal form does not close)ī. From the Editable Grid View the user clicks on an Edit Button which opens a Model form that shows the complete record details. On the Ingredients form I have a Master and Detail Form ‘Editable Grid View’. sc_redir(myApp, myParams) or sc_redir(myApp, myParams, “_self”) => the current modal form is replaced with the family grid. I have a Tab application that has a form for each component of a recipe file. If I use “sc_redir()” from this modal form to get back to the family members grid, I get the following results:Ī.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |