Re: [xsl] client-side ajax & xslt

Subject: Re: [xsl] client-side ajax & xslt
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Fri, 09 Mar 2007 11:46:12 -0500
On Fri, 09 Mar 2007 11:38:09 -0500, Lindsey Simon <lsimon@xxxxxxxxxxxx>
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

Current Thread