Structure

 

kDataGrid

  • js - Folder containing the JavaScript code
    • jscript.js - The JavaScript classes and functions
  • lib - Folder containing the libraries required by kDataGrid
    • mysql.php - MySql wrapper
    • pagination.php - Pagination library
    • template.php - Template engine
  • themes - All themes should go in this folder
    • luna - The default Luna theme
      • add.png - Image for 'Add' action
      • datagrid-header.gif - Background image for grid header
      • delete.png - Image for 'Delete' action
      • edit.png - Image for 'Edit' action
      • loader.gif - Image displayed when a search is in-progres.
      • style.css - The Luna stylesheet.
      • tpl.add.php - Template for generating the 'Add record' form
      • tpl.edit.php - Template for generating the 'Edit record' form
      • tpl.page.php - Template for generating all kDataGrid pages.
      • tpl.view.php - Template for generating the 'View record' form
      • view.png - Image for 'View' action
  • kdatagrid.php - The main kDataGrid library file