xsl-list
[Top] [All Lists]

Re: [xsl] client-side ajax & xslt

2007-03-09 09:46:38
On Fri, 09 Mar 2007 11:38:09 -0500, Lindsey Simon <lsimon(_at_)commoner(_dot_)com> wrote:



dojo also has a widget that does this type of table, but with JSON data. It is pretty easy to use too.

Does that widget employ XSLT now?

no, so this is getting OT

Last I looked at the dojo grid, it was adding all the DOM decoration in Javascript dom calls.


Therfe is no Grid widget. You want the FilteringTable.

You just do something like:

<table dojoType="filteringTable" id="usersList" widgetId="usersList" class="dojoTable"
                multiple="true" alternateRows="true" maxSortable="2"
                cellpadding="0" cellspacing="0" border="0">
        <thead>
                <tr>
                        <th field="User" dataType="String" 
valign="top">User</th>
<th field="Groups" dataType="String" align="center" valign="top">Groups</th> <th field="IsAdmin" dataType="Boolean" align="center" valign="top">Is Admin</th>
                </tr>
        </thead>
        <tbody>

When you click on a header cell, it will sort by that row.

best,
-Rob


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>