The ‘Edit Grid’ library extends the functionality of Editable Grids and makes them
more effective. The following functions have been implemented as form segments and
to optimise performance, they are applied only to the forms they are used on.
Automatically set a
column to a value from
the form
|
Typically this is used to add the current Folder ID
to allow “Child” related tables for a Folder to be
maintained from an Editable Grid.
(Currently this cannot be done in Metastorm BPM without
writing custom scripts for each form).
|
Set a “Check” Column
|
Provides the ability to set check columns (Y/N,
T/F etc) in Editable Grids.
Metastorm BPM V6.5 does not support check fields in
Editable Grids.
|
Insert and Delete
Buttons
|
Currently users have to be told how to add and
delete rows in Editable Grids. This function
avoids this by adding the required buttons to the
form.
|
Total Columns
|
Automatically sums selected columns.
|
The ‘Demo Edit Grid’ procedure illustrates how the Edit Grid Library features can be
applied to a grid. An Admin Form is included which is used to create and populate a
custom table - ‘DemoLookup’
with values that can subsequently be selected by the
user from the ‘Lookup’ (name/value) dropdown list.
Fig 1 - The ‘Edit’ form
Fig 2 - The ‘Show’ form
-
Publish the ‘Demo Edit
Grid’ procedure.
-
From the Procedure
Properties dialog, check
that the ‘Edit Grid’
Library
is associated.
|
|
-
Open the ‘Demo Edit
Lookup’ Admin form and
populate the ‘DemoLookup’
custom
table with several rows of
data.
|
The ‘DemoLookup’ custom table:-
|
-
From the Blank Forms
page select the ‘
Demo Edit
Grid’ blank form.
|
|
-
Add several rows of data
to review the Grid’s
functionality and submit the
form.
|
|
-
On submit; the
“Show”
form is displayed.
|
|
-
Open the ‘Test Edit
Grid Total’ Procedure
and from the Procedure
Properties dialog and
check that the ‘Edit
Grid’ Library has been
associated and publish
the procedure.
|
|
-
From the blank forms
page, open the ‘Edit
Grid Total’ form.
-
Enter some values into
the grid as illustrated.
|
|