N°3540 - Migrate printable version of an object

This commit is contained in:
acognet
2020-12-18 11:41:06 +01:00
parent c8dbf88c03
commit 3876fb9d62
30 changed files with 545 additions and 517 deletions

View File

@@ -33,6 +33,7 @@ use WebPage;
*/
class DataTableFactory
{
/**
* @param \WebPage $oPage
* @param string $sListId
@@ -758,7 +759,8 @@ class DataTableFactory
public Static function MakeForForm(string $sRef, array $aColumns): FormTable
{
$oTable = new FormTable($sRef);
$oTable = new FormTable("datatable_".$sRef);
$oTable->SetRef($sRef);
$oTable->SetColumns($aColumns);
return $oTable;