Is there an easy way to extend some core functionallity without subclassing the grid ?? ;-)
( set something as default for every new grid defined )
I know it depends on what exactly need to be included, but as simple samples like:
- Define a custom control (or any UI one ) iside the corner (top-left) with a default object name etc..
- obj.setColumnIndices()/obj.setRowIndices() not empty by default ( if it have several implications with all Data-Models , then just for Array-Model)
- Always Perform an event after header-click (after sort) etc..
Sorry for too many questions in one.
Monday, February 13, 2006
I think you should subclass the grid and I don't see it as something too much complicated -
// create MyGrid class var MyGrid = AW.UI.Grid.subclass();