Comment by dkimmig:
I dont know whether this is the right time/place to add my comment, but I
would like to point you guys in the direction of the Dojo Data Grid. I
would love to be able to create a "Databound-Grid" somewhat similiar to the
following way that is currently available in Dojo:
{{{
<table dojoType="dojox.grid.TreeGrid" class="grid"
store="jsonStore" query="{ id: '4' }" queryOptions="{deep: true}"
rowsPerPage="20" rowSelector="true">
<thead>
<tr>
<th field="label">Quarter</th>
<th field="pts">Points</th>
<th field="reb">Rebounds</th>
<th field="ast">Assists</th>
<th field="tp" formatter="formatTime">Time
Played</th>
</tr>
</thead>
</table>
}}}
Sample is taken from :
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/grid/tests/test_treegrid.html
You can replace the markup with any UIBinder-related stuff... it doesnt
have to be a real table element. The big picture is:
* Declare a DataGrid-Component in a xy.ui.xml file and point it to
a "DataStore" inside the backing Composite class much like the current
@UIField stuff.
* Describe the structure using traditional table-heading mechanisms without
having to fiddle with low-level row-/colspans
* Provide a way to add "Aggregation Columns", "SubGrids" and "EditorCells
for inplace-editing"
Maybe all of this doesnt make sense for GWT, but I felt the need to express
this somewhere ;)
For more information:
http://code.google.com/p/google-web-toolkit/wiki/DataBackedWidgetsDesign
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors