[Laszlo-user] "Navigator" widget
Paulo Scardine
paulo at scardine.com.br
Thu Jul 31 14:59:12 PDT 2008
Geoff Crawford escreveu:
>> Can I encapsulate dataset/datapath/datapointer inside this widget?
>
> Sure. You can encapsulate any bits you want inside - however
> it's not what we do. Ours is tied to the *grid* and then
> the *grid* is tied to the dataset. The grid already does
> that for you, and if you really need the underlying dataset
> pointers, the grid has that as one of it's attributes.
> But in general I would suggest methods of the grid instead of
> methods of the dataset.
>
Geoff,
How do you bind the selected value on the grid to an edit/add form?
I'm trying to use onselect event to fire datapath.setNodes() on the edit
view; it seems to work, but I would like to hear from somebody that is
more experienced in Laszlo.
Thanks,
--
Paulo
> We prefer it that was as a better separation of the UI from
> the data access.
>
More information about the Laszlo-user
mailing list