cybertools/composer/schema/grid/grid_macros.pt
helmutm d4ef8e54c1 work in progress: grid field (widget)
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2989 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-11-16 15:21:14 +00:00

24 lines
761 B
XML
Executable file

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"
i18n:domain="cybertools.composer.schema">
<body>
<metal:input define-macro="input_grid">
<span dojoType="dojo.data.ItemFileWriteStore"
tal:attributes="jsId string:store_$name;
data data/?name"/>
<table dojoType="dojox.grid.DataGrid"
style="width: 35em; height: 15em"
tal:attributes="name name; id name;
store string:store_$name">
<thead>
<tr>
<tal:header repeat="column field/columns">
<th tal:attributes="field column/name"
tal:content="column/title">Column Title</th>
</tal:header>
</tr></thead></table>
</metal:input>