-
-
Save csakis/6584098 to your computer and use it in GitHub Desktop.
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
For me it only works, if I add the class="users" to the table