| 1 | { |
| 2 | "headers": [ |
| 3 | [ |
| 4 | { "text": "First Name", "class": "fname", "width": "20%" }, |
| 5 | "Last Name", |
| 6 | { "text": "Age", "class": "age", "data-sorter": false }, |
| 7 | "Total", |
| 8 | { "text": "Discount", "class": "sorter-false" }, |
| 9 | { "text": "Date", "class": "date", "width": "20%" } |
| 10 | ] |
| 11 | ], |
| 12 | "footers": "clone", |
| 13 | "rows": [ |
| 14 | [ "Peter", "Parker", 28, "$9.99", "20%", "Jul 6, 2006 8:14 AM" ], |
| 15 | [ "John", "Hood", 33, "$19.99", "25%", "Dec 10, 2002 5:14 AM" ], |
| 16 | [ "Clark", "Kent", 18, "$15.89", "44%", "Jan 12, 2003 11:14 AM" ], |
| 17 | |
| 18 | { "newTbody": true, "class": "tablesorter-infoOnly" }, |
| 19 | { "cells": [ { "html": "<strong>JSON Info Row</strong>", "colspan": 6 } ] }, |
| 20 | |
| 21 | { "newTbody": true }, |
| 22 | [ "Bruce", "Evans", 22, "$13.19", "11%", "Jan 18, 2007 9:12 AM" ], |
| 23 | [ "Brice", "Almighty", 45, "$153.19", "44%", "Jan 18, 2001 9:12 AM" ], |
| 24 | |
| 25 | { "class": "specialRow", |
| 26 | "cells": [ |
| 27 | { "text": "Fred", "class": "fname" }, |
| 28 | { "text": "Smith", "class": "lname" }, |
| 29 | { "text": 18, "class": "age", "data-info": "fake ID!, he's only 16" }, |
| 30 | { "text": "$22.44", "class": "total" }, |
| 31 | "8%", |
| 32 | { "text": "Aug 20, 2012 10:15 AM", "class": "date" } |
| 33 | ], |
| 34 | "data-info": "This row likes turtles" |
| 35 | } |
| 36 | ] |
| 37 | } |