Login Register

medryx

AutoFilter Plugin

I think that looking through all of these feature requests that perhaps grid should be designed with some kind of "plugin" architecture, where you can choose what features you want. For example, I have created an AutoFilter plugin that will add excel-like autofiltering to your grid. Its a simple as adding an autoFilter:true attribute to your cell definition.

In the absence of a true plugin mechanism, this is a class that you can mix with a grid to derive your own grid.

I've posted the code and a detailed blog entry about how to use it.

DOH Suggestions

I have some suggestion about DOH. Overall I think its a great tool, and I think its asynchronous testing support is fabulous. But honestly, I just don't find it that intuitive to get up and running quickly, and I think some simple changes could fix that.

1. Lets make doh a first class package. Pull it out of util and make it just as important as dojox and dijit. Don't you think it is? And by not burying it, I think we could encourage its use.

2. Runner.html: Having the DOH Runner default to running all the tests in dojo is distracting. How about getting rid of:

a Mock JsonService for development and testing

I've worked on creating a MockJsonService for unit testing and for making development a bit more rapid and less dependent on the server side. It a fairly lengthy discussion, but I thought I would make it available to anyone who was interested:

http://blog.medryx.org/2008/06/07/a-mock-rpc-service/

-maulin

Syndicate content