ModelAdmin vs GridField: when to use one over the other?

I find ModelAdmin more powerful than the GridField in SilverStripe. My question is when do you use GridField instead of ModelAdmin?

+4
source share
1 answer

ModelAdmin, taken from the SilverStripe documentation :

ModelAdmin provides an easy way to use the SilverStripe admin user interface with your own data models. It can create a search list and edit views of subclasses of DataObject and even provide import and export of your data.

, ModelAdmin GridField. , , , GridField ModelAdmin , DataObject.

ModelAdmin DataObjects, GridField . ModelAdmin .

- , DataObject, , , -, CMS, ModelAdmin GridField .

GridField ModelAdmin, , SiteTree DataObjects ( has_many, many_many) .

GridField , . ModelAdmin , , .

, , , ModelAdmin , - - . ModelAdmin "Shop" SiteTree .

, .

+5

All Articles