DEMO SITE v1.7.20

Simple relation Default 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

Add Export into CSV Print
Search
#FirstnameLastnameOffice in 
1this is a long long text234NYC View Edit Remove
2456hello how arLondon View Edit Remove
3SDSDSDsaMIRANYC View Edit Remove
4xxxSan Francisco View Edit Remove
5dskadsajkdasdassomesdadsa View Edit Remove