Control arguments can be used to influence the control behavior. They are defined in the app.ducx user interface language within brackets after the control.
Syntax |
app.ducx User Interface Language ... layout { |
height and width are predefined arguments, which can be accessed in the client JavaScript using the GetHeight() and GetWidth() functions. You can also define arbitrary control arguments, which can be accessed using the GetOptions() function.
Note: GetOptions() is also used for control options as described in the next chapter.
Example |
app.ducx User Interface Language ... layout { render.js this.OnRender = function CustomObjectListControl_OnRender(output) // retrieve the control arguments |