Table of Contents

Description

Convert existing html table to grid.

Author:

Peter Romianowski

Installation

In order to use this module you should mark the Table to Grid (in Other modules) when you download the grid. For more information refer to Download.
For Developers - this is the grid.tbltogrid.js in the src directory.

Calling Convention:

tableToGrid(selector, options)
This is function and not a method

where

The html table should have the following structure:

<table class="mytable"> (or <table id="mytable">) 
  <tr> 
     <th> header 1 </th> 
     <th> header 2 </th> 
     ... 
  </tr> 
  <tbody> 
    <tr> 
      <td> data 1 </td> 
      <td> data 1 </td> 
      ... 
    </tr> 
    <tr> 
      ... 
    </tr> 
    .... 
  </tbody> 
<table>