diff --git a/composer/schema/grid/grid_macros.pt b/composer/schema/grid/grid_macros.pt index 751e627..aaf16f7 100755 --- a/composer/schema/grid/grid_macros.pt +++ b/composer/schema/grid/grid_macros.pt @@ -42,37 +42,43 @@ tal:define="fieldInstance python: field.getFieldInstance(view.instance); columns fieldInstance/columnTypes; rows data/?name"> - +
- - + name string:$name.$cname:records; + style string:width: ${column/baseField/width|string:auto};" /> - + tal:attributes="name string:$name.$cname:records; + style string:width: ${column/baseField/width|string:auto};" /> - + tal:attributes="name string:$name.$cname:records; + style string:width: ${column/baseField/width|string:auto};" /> diff --git a/composer/schema/grid/interfaces.py b/composer/schema/grid/interfaces.py index b653d42..1979be0 100644 --- a/composer/schema/grid/interfaces.py +++ b/composer/schema/grid/interfaces.py @@ -46,6 +46,7 @@ class Records(Grid): __typeInfo__ = ('records', FieldType('records', 'records', u'A series of records or rows.', + displayRenderer='display_records', instanceName='records',))
Column Title
- +
+
- +