DEMO SITE v1.7.15

Simple relation Minimal theme

You can get options list from other table

HIDE CODE
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
    $xcrud->table_name('Simple relation');
    $xcrud->relation('officeCode','offices','officeCode','city');
    $xcrud->label('officeCode','Office in');
    $xcrud->columns('firstName,lastName,officeCode');
    $xcrud->fields('firstName,lastName,officeCode');
    $xcrud->limit(10);
    echo $xcrud->render();
?>

Simple relation

#FirstnameLastnameOffice in 
1TestErtel CostaSan Francisco
2
3
4RIO DE JANEIRO
5yxds2342sdSydney
6
7aaad344Tokyo
8SfcJsjejsausar
9RIO DE JANEIRO
10
Add Export into CSV Print Search