jquery/jquery-mobile — pull request #6164 by frequent (2013-07-14 18:16:42+00:00)
Title: table widget review

@arschmitz: @uGoMobi:

Little bit late, but let's see if we can everything fixed. The `master` code was pretty different from when I did the 1.4 table refresh, so no quick-copy-paste... I updated the current code in master and tried to stick to the suggestions you made on the filter widget. Plus it took me a while to realize that creating a `refresh` or `enhance` method in both `reflow/columntoggle` does not work, because the second one will always overwrite the first...

Anyway.
- This commit passes the current Qunit tests on my machine.
- I'm now trying to pass the refresh tests I did for 1.4. Will commit asap
- Demo [Reflow](http://www.franckreich.de/jqm/table/reflow.html) and [Toggle](http://www.franckreich.de/jqm/table/toggle.html)
- This should fix:
#5856 New refresh method for table widget and extentions
#5839 Table column toggle breaks table priority hiding
#5880 Refresh method from tables doesn´t update recently added columns
#6006 Refresh method on reflow-table duplicate label
#6129 Table cells not hiding on smaller screen widths when headers and rows are dynamically injected

I will try to add tests which add columns to confirm, the issues are fixed.

I'm also still wondering about #5630 and will try to take a look at #6121.

Questionable:
#6095 - error if no tbody is specified on a table. The docs say to use a JQM table requires the `body` tag to be set, so I would close this.
#6008 - display: table-frow-group makes table hard to center - I'd just recommend wrapping the table in that case