DEMO SITE v1.7.15

JS tricks Minimal theme

Some js functions example

HIDE CODE
<button onclick="Xcrud.reload()">Reload button</button>
<button onclick="Xcrud.show_message('.xcrud-ajax','This is error!','error')">Show error</button>
<button onclick="Xcrud.show_message('.xcrud-ajax','Got it!','success')">Show success</button>
<button onclick="Xcrud.show_message('.xcrud-ajax','Mmm... Maybe you right...','note')">Show note</button>
<button onclick="Xcrud.show_message('.xcrud-ajax','Some information','info')">Show info</button>
<button onclick="Xcrud.request('.xcrud-ajax',Xcrud.list_data('.xcrud-ajax',{task:'edit',primary:128}))">Edit entry #128</button>
<button onclick="Xcrud.modal('My modal','<h1>Hello World!</h1>')">Show modal</button>
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('customers');
    echo $xcrud->render();
?>
<script type="text/javascript">
jQuery(document).on("xcrudafterrequest",function(event,container){
    if(Xcrud.current_task == 'save')
    {
        Xcrud.show_message(container,'WOW!','success');
    }
});
</script>

Customers

#CustomernameContactlastnameContactfirstnamePhoneAddressline1Addressline2CityStatePostalcodeCountrySalesrepemployeenumberCreditlimitAvatarPhotoAttachSexInterests 
1Blauer See Auto, Co.KeitelRoland+49 69 66 90 2555Lyonerstr. 34Frankfurt60528Germany150459700maleprogramming
2Mini Wheels Co.MurphyJulie65055557875557 North Pendale StreetSan FranciscoCA94217USA116564600male
3Land of Toys Inc.LeeKwai2125557818897 Long Airport AvenueNYCNY10022USA1323114900male
4Volvo Model Replicas, CoBerglundChristina 0921-12 3555Berguvsvägen 8LuleåS-958 22Sweden150453100male
5Danish Wholesale ImportsPetersenJytte 31 12 3555Vinbæltet 34Kobenhavn1734Denmark140183400male
6Saveley & Henriot, Co.SaveleyMary78.32.55552, rue du CommerceLyon69004France1337123900male
7Dragon Souveniers, Ltd.NatividadEric+65 221 7555Bronz Sok.Bronz Apt. 3/6 TesvikiySingapore079903Singapore1621103800male
8Muscle Machine IncYoungJeff21255574134092 Furth CircleSuite 400NYCNY10022USA1286138500male
9Diecast Classics Inc.LeongKelvin21555515557586 Pompton St.AllentownPA70267USA1216100600male
10Technics Stores Inc.HashimotoJuri65055568099408 Furth CircleBurlingameCA94217USA116584600male
Add Export into CSV Print Search