DEMO SITE v1.7.15

JS tricks Bootstrap 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 
1Volvo Model ReplicasBerglundChristina0921-12 3555Berguvsvägen 8LuleåS-958 22Sweden150453100malesports, cars, girls, fights, cooking
2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11xxxxxxmale
3Saveley & Henriot, Co.SaveleyMary78.32.55552, rue du CommerceLyon69004France1337123900male
4steveNatividadEric+65 221 7555mnmBronz Sok.Bronz Apt. 3/6 TesvikiyeSingapore079903Singapore1621103800male
5Muscle Machine IncYoungJeff21255574134092 Furth CircleSuite 400NYCNY10022USA1286138500male
6Diecast Classics Inc.LeongKelvin21555515557586 Pompton St.AllentownPA70267USA1216100600male
7Technics Stores Inc.HashimotoJuri65055568099408 Furth CircleBurlingameCA94217USA116584600male
8Handji Gifts& CoVictorinoWendy+65 224 1555106 Linden Road Sandown2nd FloorSingapore069045Singapore161297900male
9Herkku GiftsOeztanVeysel+47 2267 3215Brehmen St. 121PR 334 SentrumBergenN 5804Norway 150496800male
10JoeFrancoKeith2035557845149 Spinnaker Dr.Suite 101New HavenCT97823USA12860male
Search