Ryan Kinal
100 E. St. Clair St.
Warren, PA 16365
716.581.1000
ryan.kinal@gmail.com

Google ProfileTwitter: @IndigloMouth
FacebookLinkedIn

Dynamic Table is a javascript object which takes a normal HTML table and transforms it so that a user can move and resize columns.

Instructions

Sample Table

Header 1 Header 2 Header 3 Header 4
Data More Data Even More Data Yet MOre Data
Data More Data Even More Data Yet MOre Data
Data More Data Even More Data Yet MOre Data
Data More Data Even More Data Yet MOre Data

Required Functions

Sample Code

// This code was used for the table on this page // An HTML table was built and given the ID "sampleTable" // This table must use the <thead>, <tfoot>, and <tbody> tags // and have only one row in <thead> // Standard CSS styles were applied to the table for coloring and borders function setup() { var t = document.getElementById("sampleTable"); var dt = new DynamicTable(t); } addEvent(window, "load", setup, false);

Source