FirePHP4Chrome
FirePHP4Chrome copied to clipboard
table indexes
The server-side use of tables isn't very friendly (out of your control) that being said, the format the firephp spec uses, probably makes it harder to create the table client-side
X-Wf-1-1-1-6:76|[{"Type":"TABLE"},[["","name","age"],["row1","Dick",39],["row2","Jane",37]]]|
should appear as
| name | age | |
|---|---|---|
| "row1" | "Dick" | 39 |
| "row2" | "Jane" | 37 |
however the plug is currently rendering it as
| index | name | age | |
|---|---|---|---|
| 0 | "row1" | "Dick" | 39 |
| 1 | "row2" | "Jane" | 37 |
the client shouldn't have the index column if possible as no index info was explicitly passed
the less-good "FirePHP for Chrome" extension gets tables right (for example/reference), but completely borks groups
perhaps a solution is to treat columns[0] as an index column if columns[0] === '' || columns[0] === 'index' || columns[0] === 'i' ?