Open a UX component to Edit Current Record in Grid, or add a new Record
/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.)
Grid Component - SQL Database Errors
/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:
Ordering Lookup Entries - Grid Component
/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
/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 Search Part
/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
/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
/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.
Adding Images to a Tree Control
/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:
Grid Component - Checkbox Column - Custom Ajax Callbacks
/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:
Open a ImageGallery component
/pages/Ref/Action Javascript/Open a ImageGallery component.xml
Open a ImageGallery component in a pop-up window, or in a DIV on the current page.