Skip to content

btallman/jquery-report

This branch is up to date with lmatteis/jquery-report:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 15, 2011
832542f · Nov 15, 2011

History

4 Commits
Nov 15, 2011
Nov 15, 2011

Repository files navigation

jquery-report

Allows you to visualize your JSON data as an HTML Table

Usage

It takes an array of JSON objects. It only goes one level deep. If you have objects inside objects it won't work. The keys of the object represent the name of the columns in the tabular layout.

$("table").report([
  {"type": "address", "name": "Fred", "mobile": "555-0001"},
  {"type": "address", "name": "Barney", "mobile": "555-0002"},
  {"type": "address", "name": "Audrey", "mobile": "555-0003", "city": "Minneapolis"},
  {"type": "address", "name": "Barney", "mobile": "555-0004", "city": "Georgia, Funksville", "sex": "male"},
  {"type": "address", "city": "Idaho", "sex": "female", "name": "Alissa"},
  {"type": "address", "sex": "female", "name": "Dardia"}  
]);

Demo

DEMONSTRATION

About

Allows you to visualize an HTML Table out of JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published