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.

Customising the CMS /

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

ManyManyComplexTableField


Go to End
Reply


2 Posts   1552 Views

Avatar
corkg

Community Member, 30 Posts

20 May 2010 at 8:55pm

Hi,

I am using a ManyManyComplexTableField like in the below document:
http://doc.silverstripe.org/manymanycomplextablefield?rev=1195784535
As you can see in the table or in the below image:
http://doc.silverstripe.org/_media/manymany.png?cache=&w=701&h=217
The table on shows 10 lines of data is there any way of increasing this.

Thank you.

Avatar
Bambii7

Community Member, 254 Posts

31 August 2010 at 2:04pm

$Type = new ManyManyComplexTableField (
$this,
'Types',
'TypeDataObject',
array(

)
);
$Type->pageSize = 18;
$fields->push($Type);

or if you were adding to a page

$fields->addFieldToTab('Root.Content.Type', $Type);

All complextablefield's share the pageSize variable.