21293 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » [RESOLVED] ManyManyComplexTableField - CMS - display more than 10 records at a time
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 814 Views |
-
[RESOLVED] ManyManyComplexTableField - CMS - display more than 10 records at a time

18 June 2011 at 4:31pm Last edited: 18 June 2011 4:31pm
Hi! I have a page that has a many to many relationship with another object. I have that additional object wired into the CMS nicely associated with the parent page. But how do I control the number of records in the associated record set?
It only displays 10 at a time ...
Thanks!
Greg -
Re: [RESOLVED] ManyManyComplexTableField - CMS - display more than 10 records at a time

18 June 2011 at 5:08pm
so I'm thinking it must have something to do with
Class: ManyManyComplexTableField
getQuery( )
but I don't know how to use it on the CMS side.
-
Re: [RESOLVED] ManyManyComplexTableField - CMS - display more than 10 records at a time

18 June 2011 at 6:09pm
$table->setPageSize(n)
-
Re: [RESOLVED] ManyManyComplexTableField - CMS - display more than 10 records at a time

19 June 2011 at 2:51am
Thanks! That did the trick.
| 814 Views | ||
|
Page:
1
|
Go to Top |


