Mark Hamstra made a nice Tut, which does exactly that:Thanks Bruno, just what I was looking for.
http://rtfm.modx.com/display/ADDON/MIGX.Simple+opening+hours+table
Fatal error: Call to a member function setPlaceholder() on a non-object in /home/supportt/public_html/core/model/modx/modtemplatevar.class.php on line 1110
[{
"caption":"manuals",
"fields": [{
"field":"description",
"caption":"Description"
},{
"field":"size",
"caption":"Size"
},{
"field":"language",
"caption":"Language"
},{
"field":"file",
"caption":"File"
}]
}][
{"header": "Description", "width": "550", "sortable": "false", "dataIndex": "description"},
{"header": "Size", "width": "50", "sortable": "false", "dataIndex": "size"},
{"header": "Language", "width": "50", "sortable": "false", "dataIndex": "language"},
{"header": "File", "width": "50", "sortable": "false", "dataIndex": "file"}
],{
"field":"file",
"caption":"File",
"inputTV":"manualfile"
}<tr> <td>[[+description]]</td> <td>[[+size]]</td><td>[[+language]]</td><td>[[+manualfile]]</td> </tr>
<tr> <td>[[+description]]</td> <td>[[+size]]</td><td>[[+language]]</td><td>[[+file]]</td> </tr>
[[+file]]
[[+file]]
This discussion is closed to further replies. Keep calm and carry on.