Open a Custom component
/documentation/pages/Ref/Action Javascript/Open a Custom component.xml
Open a Custom component in a pop-up window, or in a DIV on the current page.
Open a Page Layout component
/documentation/pages/Ref/Action Javascript/Open a Page Layout component.xml
Open a Page Layout component in a pop-up window, or in a DIV on the current page.
Dynamically Re-populate Choices in a Radiobutton Control
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Data Controls/RadioButton/Dynamically Re-populate Choices in a Radiobutton Control.xml
In some cases it is necessary to re-populate the choices in a radiobutton control after the component has been rendered. This can be done dynamically using an ajax callback.
Filtering a Grid with a Grid Selection
/documentation/pages/Guides/Mobile and Web Components/Grid/Introducing the Grid Builder/Tutorials/Filtering/Filtering a Grid with a Grid Selection.xml
How to to call a filtered grid from another grid.
Opening a Page with a Grid Component and Showing Selected Records
/documentation/pages/Server/Guide/Design/View/Grid/Opening a Page with a Grid Component and Showing Selected Records.xml
A common requirement when building a grid is to have a hyperlink field in the grid that, when clicked, will open a second page. The second page contains a grid that is filtered based on parameters from the first page. These examples show how to do this. The URL that opens the second page has query parameters that contain one or more of the _filter, _order, and _link keywords. These keywords allow you to specify a filter, order and/or linking parameters for the grid in the target page.
Grid Component Properties and Methods
Properties and methods that can be used on the client side to automate grid components.
Combo Box Control Syntax
/documentation/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Combo Box/Combo Box Control Syntax.xml
The value of Variable_Name is a base-1 index if the variable is declared as Numeric. If undeclared or left un-initialized, the variable is a string that returns the text of the choice that is selected.
Combo Box Control Methods
/documentation/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Combo Box/Combo Box Control Methods.xml
The Combo Box Control has the following methods. The combo box control methods are used with a pointer to the control in the following way: .METHOD(). Refer to Retrieving a Pointer to a Control for techniques for getting a pointer.
How to Filter a Grid on the Selected Rows in a List Control
/documentation/pages/HowTo/Grid/Filter Grid With Selected List Rows.xml
Argument arrays, combined with the SQL IN clause, are a powerful way to filter records shown in a Grid component.
UX and Grid Component - Javascript Confirmation Windows - Title Direction
/documentation/pages/Guides/Mobile and Web Components/UX/Code/Javascript In UX Components/Javascript Confirmation Windows - Title Direction.xml
By default, all confirmation dialogs show the title on the left and the close icon on the right. For right to left languages, you might want to change this. To do so, put the following Javascript in the Grid or UX onRenderComplete client-side event: