Responding to User Input on a Grid
/documentation/pages/Server/Guide/Design/View/Grid/Responding to User Input on a Grid.xml
Step by step instructions for responding to user input in a grid component.
Refresh and Filter Operations - User Defined Ajax Callbacks
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Data Controls/List/Refresh and Filter Operations - User Defined Ajax Callbacks.xml
The List control has methods that allow you to refresh the data or filter the data.
Using Watch Events to Update ControlBar Data
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Other Controls/ControlBar/Using Watch Events to Update ControlBar Data.xml
The ControlBar data can be updated automatically in response to certain events in the UX (such as the UX going dirty, a List going dirty, etc.) or by a change in the value of one or more controls. Watch Events can be defined in the ControlBar Builder inside the Data pane by first clicking the 'Add Data Item' button and then checking the 'Update value automatically based on a 'watch' events' checkbox. If a html item is placed in the ControlBar then the Watch Event can be added as a placeholder in the HTML text property.
When to turn a Custom Component into a User-defined Component
/documentation/pages/Guides/Mobile and Web Components/Custom/When to turn a Custom Component into a User-defined Component.xml
In addition to the bindable arguments of a Custom Component, a User-defined Component has properties and supports having property grids for user input. Bindable properties make it possible to bind data to exposed properties programmatically, which in turn makes it possible to send the User-defined Component arrays of data or data generated from Xbasic expressions. Property grids, used widely in Alpha Anywhere and prominent as the control panel for grid creation, make setting up the User-defined Component a matter of a few mouse clicks.
How to use System Javascript Fields in User-Defined Javascript Functions
/documentation/pages/HowTo/Grid/Use System Defined Fields in Javascript Functions.xml
Built-in system fields used for defining client-side expressions can be used in Javascript functions using the {grid.object}._getGridVariables method to get the variables from the Grid Component.
How to Use User-Defined Scalar Functions in Oracle and SQL Server
/documentation/pages/HowTo/Databases/Call User Defined Scalar Functions in SQL Server Oracle.xml
User-defined scalar functions in Oracle and SQL Server can be called from Alpha Anywhere.
How to make User-Defined Functions Available to a Web Application
/documentation/pages/Guides/Xbasic/Making User-Defined Functions Available to a Web Application.xml
The Alpha Five HTML Editor, and any code window in Alpha Five, will automatically detect and recognize UDFs (User-Defined Functions) defined in the current database function library.
How to run a Component or Report in a User Defined Ajax Callback or <%a5..%> Code Block
/documentation/pages/HowTo/Other/Run Component or Report in Ajax Callback.xml
Components and reports can be dynamically run using Xbasic in an Ajax Callback.
How to Disable Grid Input Controls when Update is not Allowed for the Current User
/documentation/pages/HowTo/Grid/Disable Input Controls when Update Not Allowed.xml
In a Grid component if you have the Security Framework enabled and the user does not have permission to update data, the input controls are still enabled even though the user will not be able to save any edits. It might be desirable to disable input controls when the user does not have update permission.
Defined Controls
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Defined Controls/index.xml
Defined controls are controls whose functionality has largely been pre-defined. They are ready to use as soon as they are added to a component.