Tabs
Tabs can be created in details view with fields()
method.
public function tabs() { $xcrud = get_xcrud(); $xcrud->table('customers'); $xcrud->fields('customerName,contactLastName,contactFirstName,phone', false, 'Contact'); $xcrud->fields('addressLine1,addressLine2,city,state,postalCode,country', false, 'Address'); $xcrud->fields('customerNumber,salesRepEmployeeNumber,creditLimit', false, 'Finance'); $data['content'] = $xcrud->render('edit', 148); // edit screen with primary id = 148 return view('demos', $data); }