-
Notifications
You must be signed in to change notification settings - Fork 76
Architecture
Nayjest edited this page Nov 26, 2014
·
3 revisions
Component is an object that can be attached to grid components hierarchy and react to initialize & prepare calls. Components must implement IComponent interface.
Subtype of component that can store child components
Note: Grid component is not always something that can be rendered.
- Create & link components & configuration objects
- Instantiate grid
- Initialize components (see IComponent::initialize)
- Dispatch Grid::EVENT_CREATE
- Check cached version
- Prepare components (apply something to data provider, sort, filter, processinput, etc. Then dispatch EVENT_PREPARE)
- Reset data provider state
- Render main template