As described in the examples, a basic grid needs only a collection and a list of column definitions.
To display the grid, you will need to render the grid and insert the grid's root element to the DOM in order to display it.
Sometimes, you might want to set the grid to a sorted state before
displaying it, you can do that by calling
with a column name and a direction:
Sometime you may want to render a grid in a sorted state, probably
based on a previously saved sorting state. You can supply a
direction to a column definition and a sorted collection to
a grid's constructor before you render it:
If you want to display a message when the grid is empty. You can pass
emptyText string to the
to the Grid's constructor.