This example demonstrates how to build filters graphically.
Note that the js is not minified so it is readable. See filters.js.
Setting allowGroups to false disallows nested logical filters.
The above filter builder allows group conditions.