Open a UX component to Edit Current Record in Grid, or add a new Record
/documentation/pages/Ref/Action Javascript/Open a UX component to Edit Current Record in Grid, or add a new Record.xml
Open an UX component in a pop-up window, or in a DIV on the current page, to edit the current row in a Grid component or to enter a new record. (Only new Ajax Components can be opened. Old Dialogs in V10 and earlier are not supported.)
Ordering Lookup Entries - Grid Component
/documentation/pages/Server/Guide/Design/View/Grid/Ordering Lookup Entries - Grid Component.xml
Often you will want to display a list of values selected from a table. It is often desirable to specifically order these entries, instead of allowing them to display in record order or alphabetically. Here is a technique for solving this problem. This example uses a drop down list box on a dialog component, but the technique works equally well with a list box on a grid component.
Creating a Grid Component - Tutorial
/documentation/pages/Guides/Mobile and Web Components/Grid/Introducing the Grid Builder/Tutorials/Creating a Grid Component - Tutorial.xml
Covers a range of topics including selecting a database, creating a grid component, selecting data to use and display in the component, and how to view the component in a browser.
Grid Component - SQL Database Errors
/documentation/pages/Server/Guide/Design/View/Grid/Grid Component/Grid Component SQL Database Errors.xml
You can now customize the text that is displayed when the SQL Database reports an Insert, Update or Delete error. By default, Alpha Anywhere displays this text for an Update, Delete or Insert Error:
Grid Component Search Part
/documentation/pages/Guides/Mobile and Web Components/Grid/The Search Part/Grid Component Search Part.xml
A guide to all of the options available in the grid component search part.
Populate a Tree Control Using Javascript
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Data Controls/Tree/Populate a tree control using Javascript.xml
You can popluate a tree in a UX component using javascript. This example uses javascript to populate a node on a tree control and then to repopulate the entire tree.
Open a Calendar component
/documentation/pages/Ref/Action Javascript/Open a Calendar component.xml
Open a Calendar component in a pop-up window, or in a DIV on the current page.
Open a AppLauncher component
/documentation/pages/Ref/Action Javascript/Open a AppLauncher component.xml
Open a AppLauncher component in a pop-up window, or in a DIV on the current page.
Grid Component - Checkbox Column - Custom Ajax Callbacks
/documentation/pages/Server/Guide/Design/View/Grid/Grid Component/Grid Component Checkbox Column, Custom Ajax Callbacks.xml
When you do a custom Ajax callback, the 'e' object that is passed into your Xbasic function that handles the callback contains a lot of useful information. Now, the 'e' object contains 3 additional properties that are automatically set if the grid has a checkbox column. The properties are:
Adding Images to a Tree Control
/documentation/pages/Guides/Desktop/Xdialog/Controls/Tree Control/Adding Images to a Tree Control.xml
You can specify that the tree control should show images next to each entry in the tree. In addition, you can specify different images for when the branch of the tree is closed and when it is open. To use images in a tree control, you specify the list of images to use in the format string (i.e. between the % ?.% delimiters in the control definition. The syntax for specifying the images is: