- How to Programmatically Enable and Disable Buttons
/pages/HowTo/Other/Programmatically Enable and Disable Buttons.xml
Buttons in a UX component can be enabled and disbled using the button object's *[js:setDisabled()]* method.
- How to Omit HTML for Parts of a Component Embedded in an .a5w page
/pages/HowTo/Web Applications/Removing Non-essential Code.xml
Individual portions of a component are emitted separately when embedded in an A5W page. You can omit portions of the component -- such as the Page Title for a UX Component or the Detail View for a Grid Component.
- The ControlBar Control
/pages/Guides/Mobile and Web Components/UX/Controls/Other Controls/ControlBar/The ControlBar Control.xml
An overview of the ControlBar Control, its methods, and the concepts behind it. ControlBar controls
are an easy way to organize buttons in panelheaders when building Mobile applications.
- How to Collapse a Group in a Grid Component
/pages/HowTo/Grid/Collapse Grid Group.xml
Group breaks are a useful way to organize records in a Grid Component. You can add special directives that enable a user to expand or collapse records in a group in a Grid component.
- Dynamically Re-populate Choices in a Radiobutton Control
/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.
- How to Export Records in a Grid Component to Excel or Ascii
/pages/HowTo/Grid/Export Grid to Excel or Ascii.xml
- Searching the Text Fields of a Record
/pages/Guides/Desktop/Design/Data/DBF/Searching the Text Fields of a Record.xml
The following script shows how to search the text fields of a record to see if they contain a match to a character search value. This illustration uses the Customer table of the AlphaSports sample database.
A new form named New_Customer contains a tabbed control with two pages. The first page contains a text field that sets the value of a global variable named var->search_word.
- How to Update the Location of a Marker When it is Moved
/pages/HowTo/Map/Update Marker Location on Marker Drop.xml
The latitude and longitude value in the current Grid row can be updated when the user drags the marker to a new position on the map.
- How to Change the Background Image for a Panel Card at Run-time
/pages/HowTo/Panels/Change Panel Background.xml
The background image for a Panel Card can be changed dynamically at run-time.
- Dynamically Set and Change Buttons in a ControlBar Button-list
/pages/Guides/Mobile and Web Components/UX/Controls/Other Controls/ControlBar/Dynamically Set and Change Buttons in a ControlBar Button-list.xml
You can dynamically set and alter the buttons that appear in a button-list control in a toolbar.