Last active
October 10, 2015 22:58
-
-
Save optikalefx/3764056 to your computer and use it in GitHub Desktop.
OpenJSGrid v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once("grid.php"); | |
$grid = new Grid("users", array( | |
"save"=>true, | |
"delete"=>true | |
)); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="users" action="ajax.php"> | |
<tr> | |
<th col="Username">Username</th> | |
<th col="FirstName">First Name</th> | |
<th col="Lastname">Last Name</th> | |
<th col="Email">Email</th> | |
</tr> | |
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(function() { | |
$(".users").grid(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wouldn't an sql schema file also be important to include here? And perhaps a setup.bsh file?