Appframe Knowledge Base

1 hits

Using af.controls.Dialog - Accessing a Form or Grid inside a designer created dialog

/* Lets assume you have a dialog named MyDialog defined in your article, 
   and that dialog has a Form inside it. If you need to do something with the
   form when the dialog is shown, you can access the javascript object like this: */ {
    var vForm = this.content; // "this" is a reference to MyDialog when inside the show callback
    // Now you can do whatever you want to the form via the vForm reference


components web · Perma link post comment Posted by: Jan Henrik Høiland Meling (14-mai-2012)