protected function getDataTable($objName)
    {
        /* @var $formObj EasyForm */
        $formObj = Openbizx::getObject($objName); // get the existing EasyForm|BizForm object

        // if BizForm, call BizForm::renderTable
        if ($formObj instanceof BizForm)
        {
            $dataTable = $formObj->renderTable();
        }
        // if EasyForm, call EasyForm->DataPanel::renderTable
        if ($formObj instanceof EasyForm)
        {
            $recordSet = $formObj->fetchDataSet(); 
            $dataSet = $formObj->dataPanel->renderTable($recordSet);
            foreach ($dataSet['elems'] as $elem)
            {
                $labelRow[] = $elem['label'];
            }
            $dataTable = array_merge(array($labelRow), $dataSet['data']);
        }

        return $dataTable;

    }