Hi. I found an excellent demo on the mochikit site at
http://www.mochikit.com/examples/sortable_tables/index.html
However, when I copied the sortable_tables.js and then pasted in the
example html table into my .kid file, I got an error at the
mochi:format="str" in the headers below.

        <table id="sortable_table" class="datagrid">
            <thead>
                <tr>
                    <th mochi:format="str">Domain Name</th>
                    <th mochi:format="isodate">Creation Date</th>
                    <th mochi:format="isodate">Expiry Date</th>
                    <th mochi:format="istr">Organization Name</th>
                </tr>
            </thead>

I was able to delete the mochi:format="str" and just make them <th>,
and the sorting seems to be fine. But I am wondering what makes the
error. The demo works fine for me on the same browser. Could it be
different versions of the mochkit itself?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to