X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/examples/grid/multiple-sorting.html diff --git a/examples/grid/multiple-sorting.html b/examples/grid/multiple-sorting.html new file mode 100644 index 00000000..14be8af6 --- /dev/null +++ b/examples/grid/multiple-sorting.html @@ -0,0 +1,32 @@ + + + + Grid Multiple Sorting + + + + + + + + + + + + + + + + + +

Multiple grid sorting example

+

This example shows how to sort a grid by more than a single field.

+

The store is initially sorted by Rating DESC then by Salary ASC, as indicated in the toolbar.

+

Click a button to change sorting direction, drag buttons to reorder them.

+

This example also uses the Ext.ux.ToolbarDroppable plugin to allow column headers to be dropped onto the toolbar. Try it with + Name column header. Each column is only allowed one button, so Rating and Salary cannot be dropped in this example.

+

Note that the js is not minified so it is readable. See multiple-sorting.js.

+ +
+ + \ No newline at end of file