Hi,
We are using
SmartClient 7.0RC2
Browser: Firefox 3.6.8
We are using Autochild concept for extending one of our components.
Which is working fine while overriding functions etc.
isc.define("BaseClass", "VLayout");
isc.BaseClass.addProperties({
baseGridDefaults: {
_constructor: isc.ListGrid
fields:[
{name: "field1", title: "Title-Field1"
, change: function(){.....}},
{name: "field2", title: "Title-Field2"}
]
}
..............
......
});
Now there is a requirement with the extended class
isc.define("ExtendedClass", "BaseClass");
We need a new field "field3" and remove "field2" in the subcomponent baseGrid in the "ExtendedClass" without touching the baseClass..How can we acheive this?
We are using
SmartClient 7.0RC2
Browser: Firefox 3.6.8
We are using Autochild concept for extending one of our components.
Which is working fine while overriding functions etc.
isc.define("BaseClass", "VLayout");
isc.BaseClass.addProperties({
baseGridDefaults: {
_constructor: isc.ListGrid
fields:[
{name: "field1", title: "Title-Field1"
, change: function(){.....}},
{name: "field2", title: "Title-Field2"}
]
}
..............
......
});
Now there is a requirement with the extended class
isc.define("ExtendedClass", "BaseClass");
We need a new field "field3" and remove "field2" in the subcomponent baseGrid in the "ExtendedClass" without touching the baseClass..How can we acheive this?
Comment