Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Listing Pages and Related DataObjects


3 Posts   1099 Views

Nobrainer Web

10 October 2010 at 12:30pm Community Member, 135 Posts

Hi guys, I need some help creating a table that will list properties of a model, and display a checkmark/1/true if the model has the listed property.
I want the available models to be listed as rows, and all the available "properties" of the models to be columns.
The header row should display Model ? PropertyName1 ? PropertyName2 etc...
The body rows should display the modelname, and a checkmark/yes for each of the properties if the are checked in the ManyManyComplexTableField.

This image shows what i would like to achieve:

My code can be found here:
and the template file here:

Can someone tell me what i need to change to make this work?

Nobrainer Web

13 October 2010 at 10:08pm Community Member, 135 Posts

Anyone that can tell me how this can be done?


19 October 2010 at 4:35am Community Member, 114 Posts

where is the function refereneced by this?

<% control ModelProperties %>