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

How does GridField work?


Reply

11 Posts   1741 Views

Avatar
Matty Balaam

23 November 2011 at 7:27am Community Member, 69 Posts

Thanks Willr, I'll leave it for now then. Looking forward to the beta (even though that'll be quite some time yet I'd imagine).

Avatar
jaredkipe

24 November 2011 at 5:49am Community Member, 16 Posts

The alpha release states there will be a beta before end of 2011 with stable first quarter 2012. Assuming that the current build on github is actually current, I don't see how.

I gave up, and made a LOT of progress in SS 2.5.x, I love the new NestedDataObjectManager stuff!

Avatar
nimesodelta

22 March 2012 at 1:37pm Community Member, 18 Posts

Hi all... just read this quickly trying to find the answer... figured my issue out with beta 3 using something like:

Page has_many Brands

$brandsConfig = new GridFieldConfig_RelationEditor(); // is pre-defined GridFieldConfig
$brandsTable = new GridField("Brands","Brands",$this->Brands(),$brandsConfig);

Hope this helps someone