Been beating my head against a brick wall trying to figure this out from the dojo documentation - here’s the answer…
http://blog.tijs.org/archives/2006/10/26/migrating-to-dojo-04/
I’m using FilteringTable in a dynamically generated website, here’s how I got it working…
Thanks to Tom Trenka for the original nudge in the direction of the Dojo nightly test for the programmatic usage of FilteringTable
``
/* * Dynamic Filtering Table */
// Creates the FilteringTable widget and ties it to an existing HTML Table. // Call once on load.
function doCreateFilteringTable(view) { // debugger; dojo.io.bind({ url: “/get_columns?view=“+view, load: handleCreateFilteringTable, error: handleError, timeout: handleTimeout, mimetype: “application/json” }); }