Refactor output document / 0016759: Output Document pmGrids 0016760: Output Document Variables
Se agrego "Grid variables" a las opciones de Type Variable en el pmVariablePicker, que despliega los campos de las grillas que tiene en el proceso
Refactor output document / 0016759: Output Document pmGrids 0016760: Output Document Variables
Se agrego "Grid variables" a las opciones de Type Variable en el pmVariablePicker, que despliega los campos de las grillas que tiene en el proceso
Refactor output document / 0016759: Output Document pmGrids 0016760: Output Document Variables
Se agrego "Grid variables" a las opciones de Type Variable en el pmVariablePicker, que despliega los campos de las grillas que tiene en el proceso
- New feature
- Request that the address and label of link fields in DynaForms can be
set and saved using case variables
- Populate links in a grid via trigger
- Added this new funcionality
- Take into account the following (examples):
> Triggers
* Populate a link field
@@MyLink = "http://www.php.net";
@@MyLink_label = "Read about PHP";
* Populate links in a grid
@=MYGRID = array();
$i = 1;
$rs = $stmt->executeQuery("SELECT USR_USERNAME FROM USERS", ResultSet::FETCHMODE_ASSOC);
while ($rs->next()) {
$row = $rs->getRow();
@=MYGRID[$i] = array(
"MyField" => $row["USR_USERNAME"],
"MyLink" => "http://www.php.net",
"MyLink_label" => "Read about PHP, $i"
);
$i = $i + 1;
}
> JavaScript, populate a link field:
getField("MyLink").href = "http://www.php.net";
getField("MyLink").innerHTML = "Read about PHP";
* Available from version 2.0.46
- These fields are ommited when the list is generated
- An optional parameter was added, which if it is on "1" includes multiple selection fieds: such as listbox, checkgroup and grid
- File field can't be included becuase it's necessary to define first how files will be copied if we decide to include it later