Clean up some of the datagrid code.

Review Request #4173 — Created May 26, 2013 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

Clean up some of the datagrid code.

This is a minor cleanup that reduces all the "this" confusion by
assigning real variables to things as quickly as possible, and reduces
all the "var" statements everywhere. It also adds the "$" prefix to
jQuery-wrapped elements.
Tested reordering columns.
Tested adding/removing columns.
Tested sorting columns.