Yes,

You need to create a delegate to attach to the ondata event:

var myDelegate = new LzDelegate( this, "callbackFunc",dataset,"ondata");

When ondata fires, this->callback() will be called (I beleive it also 
gets the dataset firing the event passed as a parameter)

Stéphane . wrote:
> Hi,
> I need to create datasets dynamically and attach them to a 
> connectiondatasource created via tag.
> But i see in LZX Ref that ondata is tag only, so I wonder if it's 
> possible to create datasets dyn. and
> set handler to ondata, this programmatically ?
> Thanks !
> ------------------------------------------------------------------------
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>   

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to