This example (based on array grid example) shows how to use the GridConfigWindow plugins for extjs.
In this example, the plugin is used without any configuration, with all default parameters.
Note that the js is not minified so it is readable. See array-grid.js.
You can see another example here with parameters.