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, Ed, biapar, Willr, Ingo, swaiba

Listing Pages and Related DataObjects

Go to End

3 Posts   1458 Views

Nobrainer Web

Community Member, 138 Posts

10 October 2010 at 12:30pm

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

Community Member, 138 Posts

13 October 2010 at 10:08pm

Anyone that can tell me how this can be done?


Community Member, 114 Posts

19 October 2010 at 4:35am

where is the function refereneced by this?

 <% control ModelProperties %>