Differences

This shows you the differences between two versions of the page.

Link to this comparison view

form type - matrix [2016/09/14 18:19]
form type - matrix [2016/09/14 18:19] (current)
Line 1: Line 1:
 +====== Matrix ======
  
 +===== Setting Up =====
 +{{:​matrix.png?​nolink |}}In our sample Project Management application we have several tables: ​
 +
 +  - Client - the customers of our business.
 +  - Project - groupings of tasks that our Clients want us to perform.
 +  - Phase - different phases that Projects go through, that Tasks are performed during.
 +  - Task - Individual pieces of work.
 +
 +On our Client page we want to show a form with the Phases down the left hand side, and the Projects across the top.  At the intersection of Phase and Project, we want to show the Tasks that are in that Project, in that Phase. ​ So, across from a Phase are all the Tasks in that Phase, grouped into Project columns; and down below each Project are all of the Tasks in that Project, grouped by Phase.
 +
 +Here is an example of the end product:
 +
 +{{ ::​matrixexample.png?​nolink |}}
 +
 +Matrix Forms are configured with both Top Matrix Config and Left Matrix Config records. ​ The Top Config sets up the records that appear across the top of the matrix.
 +
 +{{ ::​matrixexample_headeritems.png?​nolink |}}
 +
 +The Left Config sets up the records that appear down the left hand side of the Matrix.  ​
 +
 +{{ ::​matrixexample_leftitems.png?​nolink |}}
 +
 +At the intersection of these and the Body Records.
 +
 +{{ ::​matrixexample_bodyitems.png?​nolink |}}
 +
 +Each set of configuration (Top, and Left) have the same attributes, which are covered in more detail below. ​ The key things to point out are Header Items (Query) and Header Fields (Field Selector). ​ The Header Items controls which records are shown, and the Header Fields controls which fields to use to represent each of the records as they are displayed.
 +
 +**Important:​** After you fill in, or make changes to, the Query for Header Items, click the Save icon to the right of the row you're working with.  This will update the starting context for the Body Items Query, which is very important.
 +
 +{{ ::​matrixconfig_headeritems_save.png?​nolink |}}
 +
 +{{ ::​matrixconfig_body.png?​nolink |}}
 +
 +In our example, the Top Configuration'​s Header Items will be the Client'​s Projects. ​ The Body Items would then be the Client'​s Project'​s (which becomes the starting point after clicking save) related Tasks.
 +
 +In our example, the Left Configuration'​s Header Items will be the Phase'​s. ​ The Body Items would then be the Phase'​s (which becomes the starting point after clicking save) related Tasks.
 +
 +The records that will show in the body are the intersection of the Task's from the Top Configuration'​s Body Items, and the Left Configuration'​s Body Items.
 +
 +===== Features =====
 +Page features can be edited by clicking on the blue page icon ({{:​page.png?​nolink|}}) when the [[Presentation Layer|presentation layer]] is displayed.
 +
 +==== Header Settings ====
 +
 +  * [[Form Setting - Title|Title]]
 +  * [[Form Setting - Display Alternate Header Text|Display Alternate Header Text]]
 +  * [[Form Setting - Form Icon|Form Icon]]
 +
 +==== Sizing Settings ====
 +
 +  * [[Form Setting - Max Height|Max Height]]
 +
 +==== Tooltip ====
 +
 +  * [[Form Setting - Tooltip|Tooltip]]
 +
 +==== Autorefresh ====
 +
 +  * [[Form Setting - Refresh Form Every X Seconds|Refresh Form Every X Seconds]]
 +
 +==== Block Association ====
 +
 +  * [[Form Setting - Temporary Block Association|Temporary Block Association]]
 +  * [[Form Setting - Traversal Type|Traversal Type]]
 +
 +==== Setup Matrix Records ====
 +  * [[Form Setting - Columns to freeze on the right|Columns to freeze on the right]]
 +  * [[Form Setting - Top Matrix Config|Top Matrix Config]]
 +  * [[Form Setting - Left Matrix Config|Left Matrix Config]]
 +
 +==== Save and Add Options ====
 +
 +  * [[Form Setting - Enable Page Save and Add Controls|Enable Page Save/Add Controls]]
 +  * [[Form Setting - Use Alternate Button Text for Save|Use Alternate Button Text for "​Save"​]]
 +  * [[Form Setting - Use Alternate Button Text for Add|Use Alternate Button Text for "​Add"​]]
 +  * [[Save and Add Behavior|Save and Add Behaviors]]
form type - matrix.txt ยท Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024