⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Tabs in native php



nomi
  • profile picture
  • Member

Posted 22 December 2017 - 17:28 PM

Can some 1 guide me how to add tabs in edit/add form for fields.

I tried 
 

$crud->fields(['tabs','dbname','dbpass','dbserver']);
$tabs = array ( 
array('Test Tab','dbname','dbpass')
,array('Test tab2','dbserver')  
); 
$crud->callbackEditField('tabs', function ($tabs, $primaryKeyValue)
{
print_r($tabs);
});

 

this approach (copied from an extension) but failed with error "cannot read property 'isReadOnly' of undefined"

 

 

Need help I am using enterprise edition of GC with native php.