DEMO SITE v1.7.14

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 
1Signal Gift StoresKingJean70255518388489 Strong St.Las VegasNV83030USA116671800malefights
2Australian Collectors, Co.FergusonPeter03 9520 4555636 St Kilda RoadLevel 3MelbourneVictoria3004Australia1611117300male
3Baane Mini ImportsBergulfsenJonas07-98 9555Erling Skakkes gate 78Stavern4110Norway150481700male
4Mini Gifts Distributors Ltd.NelsonSusan41555514505677 Strong St.San RafaelCA97562USA1165210500male
5Zbyszek Zbyszek Piestrzeniewicz 1PiestrzeniewiczZbyszek266427555ul. Filtrowa 68WarszawaNairobi01-012Poland1230malecars, fights, cooking
6Blauer See Auto, Co.KeitelRoland+49 69 66 90 2555Lyonerstr. 34Frankfurt60528Germany150459700male
7Land of Toys Inc.LeeKwai2125557818897 Long Airport AvenueNYCNY10022USA1323114900male
8Euro+ Shopping ChannelFreyreDiego (91) 555 94 44C/ Moralzarzal, 86Madrid28034Spain1370227600male
9Volvo Model Replicas, CoBerglundChristina 0921-12 3555Berguvsvägen 8LuleåS-958 22Sweden150453100male
10Danish Wholesale ImportsPetersenJytte31 12 3555Vinbæltet 34Kobenhavn1734Denmark140183400maleprogramming, girls, history
Add Export into CSV Print
Search