Hello.
We are trying create a class to put into the array of fields of a ListGrid, so the code results in this way:
fields:
[ isc.MyClassField.create(),
{ rest of fields...}]
We suppose, that the superclass of "MyClassField" should be ListGridField, in this way:
isc.ClassFactory.defineClass("MyClassField", isc.ListGridField)
however, after several try outs, we can not get any success result.
The question is: it should inherit from another class instead ListGridField?
When you define in the reference ListGrid as "class" and ListGridField as "object". That grammar difference mean that first one is instantiable and the second one is not?
which class should it inherit then?
Thanks in advance.
Cheers.
We are working under:
v9.0p_2013-08-20/PowerEdition Development SC and IExplrorer 10.0.9200 navigator
We are trying create a class to put into the array of fields of a ListGrid, so the code results in this way:
fields:
[ isc.MyClassField.create(),
{ rest of fields...}]
We suppose, that the superclass of "MyClassField" should be ListGridField, in this way:
isc.ClassFactory.defineClass("MyClassField", isc.ListGridField)
however, after several try outs, we can not get any success result.
The question is: it should inherit from another class instead ListGridField?
When you define in the reference ListGrid as "class" and ListGridField as "object". That grammar difference mean that first one is instantiable and the second one is not?
which class should it inherit then?
Thanks in advance.
Cheers.
We are working under:
v9.0p_2013-08-20/PowerEdition Development SC and IExplrorer 10.0.9200 navigator
Comment