oh for crying out out loud.

On Tue, Mar 18, 2008 at 4:18 PM, P T Withington <[EMAIL PROTECTED]> wrote:
> This piece of sneaky code from basegridrow is whacking a method onto
>  various subviews:
>
>          <!--- @keywords private Register the dependency of each row
>  cell with
>                its column owner.-->
>          <handler name="onaddsubview" args="sv">
>              if ( !sv [ "ownerColumn"] ) return;
>              sv._updateIt = this._updateIt;
>              var d = new LzDelegate( sv , "_updateIt",
>  sv.ownerColumn,"onx");
>              d.register( sv.ownerColumn,"oncolwidth" );
>              sv._updateIt();
>          </handler>
>          <attribute name="_updateIt"
>                     value="function(){this.setX( this.ownerColumn.x );
>
>  this.setWidth( this.ownerColumn.colwidth)}"/>
>
>  I guess this will work, but it goes against the grain of what we are
>  trying to do.
>
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to