Hi Tucker,

The file, basegridcolumn.lzx, overrides determinePlacement(). I'm not exactly sure of what it is trying to do, but it makes a new object of the same type of the subnode (the first argument). Later, the information is used to create children as a row is built.

        <method name="determinePlacement" args="v , p, args">
        ...
                var o = { name:  v.classname, attrs: a };
        ...
                this._contentsPackage.push( o );
       </method>

Changing 'v.classname' to 'v.constructor.classname' doesn't quite work. To build an object, it must be in ConstructorMap. In my app, constructor.classname is 'LzView' and it needs to be 'view'.


Ah.  classname is no longer in the instance.  It needs to be replaced
with constructor.classname.  I did this in the LFC, but I guess it
did not occur to me that this was used externally to the LFC.  What
exactly is grid trying to do?  (That is, perhaps there is a better
way than using classname.)

I think it is an error that there is a classname on the instance.
I'll remove that.

Reply via email to