DEMO SITE v1.7.15

JS tricks Default 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 
1Baane Mini ImportsBergulfsenJonas07-98 9555Erling Skakkes gate 78Stavern4110Norway150481700male
2Mini Gifts Distributors Ltd.NelsonSusan41555514505677 Strong St.San RafaelCA97562USA1165210500maleprogramming, cooking
3Zbyszek Zbyszek PiestrzeniewiczPiestrzeniewiczZbyszek266427555ul. Filtrowa 68WarszawaNairobi01-012Poland1230malecars, fights, cooking
4Blauer See Auto, Co.KeitelRolandsdf+49 69 66 90 2555Lyonerstr. 34Frankfurt60528Germany150459700male
5Mini Wheels Co.MurphyJulie65055557875557 North Pendale StreetSan FranciscoCA94217USA116564600male
6Euro+ Shopping ChannelFreyreDiego (91) 555 94 44C/ Moralzarzal, 86Madrid28034Spain1370227600male
7Volvo Model Replicas, CoBerglundChristina 0921-12 3555Berguvsvägen 8LuleåS-958 22Sweden150453100male
8Danish Wholesale ImportsPetersenJytte 31 12 3555Vinbæltet 34Kobenhavn1734Denmark140183400male
9Saveley & Henriot, Co.SaveleyMary78.32.55552, rue du CommerceLyon69004France1337123900male
10Dragon Souveniers, Ltd.NatividadEric+65 221 7555mnmBronz Sok.Bronz Apt. 3/6 TesvikiyeSingapore079903Singapore1621103800male
Add Export into CSV Print
Search