jTable is used to develop AJAX based CRUD (Create/Retrive/Update/Delete) tables without coding HTML and JavaScript. Only needed HTML tag is a simple div element in your page:
<div id="MyTableContainer"></div>
To initialize a jTable instance, you can call jtable method in the ready event of the document as like that:
<script type="text/javascript">
$(document).ready(function () {
$('#MyTableContainer').jtable({
//General options comes here
actions: {
//Action definitions comes here
},
fields: {
//Field definitions comes here
}
//Event handlers...
});
});
</script>
jTable has three types of options:
NOTE: When you create a jTable instance, a table is created but no data is loaded to the table. load method is used to do it. See Getting Started document for detailed usage.
Advertisement: Professional startup template for ASP.NET MVC & AngularJs by creator of jTable!
Based on metronic theme, includes pre-built pages like login, register, tenant, role, user, permission and setting management. Learn more...