Open a UX component
/documentation/pages/Ref/Action Javascript/Open a UX component.xml
Opens an UX component in a pop-up window, or in a DIV on the current page. (Only new Ajax components can be opened. Old dialogs built in V10 and earilier are not supported.
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.
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.
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:
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.
Client Side Expressions, Validation, and Calculated Fields
/documentation/pages/Guides/Mobile and Web Components/UX/Code/Javascript In UX Components/Client Side Javascript in UX Components/clientSideExpressions.xml
A number of properties for controls can be configured using javascript, this includes Validation, Show/Hide and Enable expressions, and Calculated Fields. Javascript functions for properties usually take a few parameters and return the value that defines the state of the parameter.
Javascript Row Events
/documentation/pages/Guides/Mobile and Web Components/Grid/Grid Properties/Javascript Row Events/index.xml
You can set JavaScript events in the JavaScript - Row Events properties section on the Grid Properties page. You can also set events using the JavaScript section of the Field Properties list on the Fields 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:
Client-side Data Cache Actions
/documentation/pages/Ref/Action Javascript/Client-side Data Cache Actions.xml
Perform some action on an item in the Client-side Data Cache (e.g. read the data, refresh the data, etc.).
Client-Side Data Cache
/documentation/pages/Guides/PhoneGap/Data Integration/Client Side Data Cache.xml
The client-side data cache allows you to define one or more 'data items' that are cached on the client-side so that you can reference this data in a UX component. The data in the data cache is in the form of Javascript arrays.