Ah. you've found a bug! It requires an element at the moment; won't work with a string (the id). I'll put together a fix for the next release. In the mean time:
http://jsfiddle.net/cDyjz/2/ On Mon, Sep 27, 2010 at 1:49 PM, hairbo <[email protected]> wrote: > According to the HtmlTable docs, you should be able to sort an > existing HTML table using the HtmlTable function. I hope I'm just > doing something silly, but I can't make it work. Here's a very simple > jsfiddle example, with what I thought would be enough to make it > happen: > > http://jsfiddle.net/cDyjz/ > > My assumption is that if I click on the headers that the underlying > columns would sort. My assumption appears to be wrong... > > Any help would be appreciated. > > Thanks. >
