Salesforce

Table Controls (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Table Controls (Magic xpa 2.x)

Table controls have two parts: Title area and Repeated area, in which the lines of the table appear.

When you resize a form grid that has a Table control, the Table control resizes accordingly. For Horizontal placement, the Table control has the Placement property that controls the resizing percentage for the table. For example, if the Placement property is set to 80%, and the size of the form is increased by 10 pixels, then the size of the Table control is increased by 8 pixels.

For Vertical placement, the Table control will display additional or fewer rows according to how the form is resized. The Table control displays empty rows when no more data is available. The parked Table Control row is always displayed.

Drag-and-drop operations can be performed for the selected text in the Table control. For a Table control with marked records, the Drag Begin event is raised for every marked record. Magic xpa identifies the Drag operation and does not open the Edit mode when the mouse’s left button is clicked and held.

The Table control properties are listed by categories:

Note:

  • To select a column, press on the column header or press Alt+Click.

  • Only one Table control is allowed on a form. Therefore, the Table control icon on the Control palette will be dimmed when there is a Table control on the form.

  • All controls placed on a Table control must be attached to the control.

  • If you drop a control on the table, it is automatically attached. If you drop it outside the table and then move it to the table area, it is not attached to the table (and will be seen behind the table) and you need to attach it manually (Drawing menu > Attach to Table).

  • In Magic xpa, when using a Table control in a Class > 0 form, the detail area is duplicated for each printed line. This is unlike Class = 0 forms (GUI Display) where the number of lines is fixed and the end user can scroll between the records. This behavior allows us to print data in table format without having to deal with the table design.

  • The following controls cannot be linked to a Table control: .NET, Browser, List Box, Radio Button, and Tab.

Platform Specific

For Android and iOS devices, horizontal scrolling is not supported in Table controls. If you need to scroll the table in a specific form area, place the table in a subform so the scrolling will be done on the subform area.

Runtime Behavior

Rich Client and Browser tables allow you to scroll through the records without leaving the selected record. You do this by using the tables' scroll bar, the mouse wheel, or the context menu on the mouse wheel.

In addition, you can use Ctrl+PgUp/PgDn to set the selected record to be the first/last record of the current visible records.

Related Topics

Reference
Attachment 
Attachment