Table View: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (f)
 
m (moved Table Edit View to Table View: consistent name)
(No difference)

Revision as of 19:28, 5 December 2012

Table Views

Table Views are available from the View Menu bar item in the Table Editor Window.

You can select a standard tabular display, showing the cells of the Table, or from a number of different Graphical forms of display. Each form of graphical display is configurable, but requires one or more specific columns of information in the table before the desired graphical display format can be fully rendered.

The Table View can be repositioned by choosing Position from the menu, or clicking in the top margin and directly dragging it.

A Table cell's value may be directly edited using the Table Attribute View.

To edit a cell, first select it by clicking on it, then click again, and when the cell background goes dark, edit the value in the cell. Table Cell values may be Copied and Pasted or Filled Down and Across.

If you wish to edit the other aspects of the Table, like row and column headings, then you need to access the Table Edit Dialog again. You can double-click on the Table's Name in the Table View, or select the Edit Original option from the Table View Menu. The Graphics Option in the Table View Menu enables you to configure the screen display of the Table View. Table Views may also be displayed Graphically.

Custom column formats

Table View

When you select the Table View button in the Table Editor Window, a Table View appears on to the screen.

For a Table with more cells than can fit within the Table Attribute View, Scroll Bars enable you to view the entire table range. The Table View displays a menu of options when you click in the top margin of the Table View, where the Table's Name is shown.


Table View Resize

You can resize the Table View by choosing Resize from the menu, and dragging a border, or a corner of the Table View in or out.


Table View Options

Option Description

  • In Place Edits Table Cells can be edited by a Model User.
  • Hide Horiz. Scrollbar Hides the Horizontal Scrollbar - Table View can still be navigated in full with arrow keys.
  • Hide Vert Scrollbar Hides the Vertical Scrollbar - Table View can still be navigated in full with arrow keys.
  • Hide Title Hides the Title of the Table in the View.
  • Send Broadcast after Edit If this is selected, then the Cell Click broadcast is sent after the User actually Edits the cell and presses enter, or closes the cell edit in some way.
  • Don’t Defer BC on FEC Enables Broadcasts to be sent and immediately processed after a Table edit, retaining full editing of the table under modeller control.
  • Full Edit menu with BC's This shows the full editing context menu when a table cell is right clicked even if an edit broadcast is being sent. Used with the Don’t Defer BC on FEC option, it retains with the context menu retaining all its options. "Full Edit Menu With Broadcasts." also applies to the table's row select menu - ie: makes it available when cell click broadcasts are being sent.
  • No Row Editing Prevents Row editing by a model user.
  • Transparent to Clicks Makes the Table View “Display Only” - Model Users cannot even click on it to select and copy cells etc.
  • Single Click to Edit Makes the Table View cells sensitive to a single click only to activate editing.
  • Disable Block Edits Prevents editing of Selections of Cells - Copy is allowed, but Paste operations for a selection is not allowed.
  • Don’t Show Current Cell Prevents the highlighting of the ‘current’ cell in a Table View. Good for Display-only table views.


Table View Properties

The Properties Flyout provides access to a number of aspects of the View,.

Property Description

  • Graphics Displays the Graphics Configuration Dialog which enables you to Set Border Style; Border Colour; Background Colour; Text Colour.
  • Position Use this option to reposition the View. Alternatively just drag it around.
  • Override Row Label Width This option enables the space reserved for row labels to be fixed at a constant value. If the value is set non zero, then space for "n" characters is always used.This overrides the Table Editor’s Row parameter which enables the "Minimum Row Label Width" space to be specified. Unlike this option, the view specific parameter will always be used even if the labels are longer than the space allowed for.


Table View Broadcasts

Certain Model User interactions with Views can have Broadcasts associated with them. You can associate the Broadcast of your choice for the following.

All View broadcasts are transmitted from the Scope of the Table, rather than the scope of the View itself.

Broadcast Name Description of Event

  • Cell Click Broadcast Transmitted when the user clicks on a cell to edit it, or after the user has edited a cell (with appropriate option set for the view).
  • After Sort Broadcast Transmitted when the user performs a sort of the Table (with appropriate option set in the Table Editor).
  • Scroll Broadcast Transmitted when the user scrolls the View of the Table.


Visibility Control

The Run-Time visibility of an Attribute View can be managed by setting up conditions in the condition editor.

You can make references to the values of a range of other attributes.

Generally, you will need to enforce a refresh of the Screen display via a “Force Repaint” routine operation in a change object before a hidden attribute view that should now become visible will be seen.


Edit Original

This is the option that displays the Table Editor Window.

Alternatively, double click on the Title of the Table View to display this window.


Copy

Copies the View of this table and enables you to paste another View, with all the same settings, on another panel.


View Order

The view order of Attributes can be altered, but only in relation to other Attribute Views, not to Paint Objects or Planimate® Objects.