BUG 9508 I add the option the show scroll

I add propety in form to the grids with scroll
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-10-03 11:57:16 -04:00
parent 8c3a42812c
commit ae11d5c106
5 changed files with 44 additions and 5 deletions

View File

@@ -716,6 +716,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
//'ENABLETEMPLATE'=> $form->enableTemplate,
'MODE' => $form->mode,
'PRINTDYNAFORM' => $form->printdynaform,
'ADJUSTGRIDSWITH'=> $form->adjustgridswith,
'NEXTSTEPSAVE' => $form->nextstepsave
);
$tmp['Properties']=$Properties;
@@ -776,6 +777,9 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
if (isset($Fields['PRINTDYNAFORM'])) {
$ses2->execute(G::replaceDataField("UPDATE . SET PRINTDYNAFORM = @@PRINTDYNAFORM WHERE XMLNODE_NAME = 'dynaForm' ", $Fields));
}
if (isset($Fields['ADJUSTGRIDSWITH'])) {
$ses2->execute(G::replaceDataField("UPDATE . SET ADJUSTGRIDSWITH = @@ADJUSTGRIDSWITH WHERE XMLNODE_NAME = 'dynaForm' ", $Fields));
}
return 0;
}
catch(Exception $e) {