Skip to content

Instantly share code, notes, and snippets.

@csakis
Forked from optikalefx/HTML Setup.html
Created September 16, 2013 17:52
Show Gist options
  • Save csakis/6584098 to your computer and use it in GitHub Desktop.
Save csakis/6584098 to your computer and use it in GitHub Desktop.
<?php
require_once("grid.php");
$grid = new Grid("users", array(
"save"=>true,
"delete"=>true
));
?>
<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>
<script>
$(function() {
$(".users").grid();
});
</script>
@csakis
Copy link
Author

csakis commented Sep 16, 2013

For me it only works, if I add the class="users" to the table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment