On Jan 7, 6:53 am, Robin Lee Powell <[email protected]> wrote: > So as far as I can tell in the main widgets shipped with Weblocks, > only one (dataform) has a :data option to give it the exact data I > have in mind. All of the others work on *all* instances of a given > object in a given datastore. > > What is the idiomatic method of dealing with less-than-all instances > of a given object, say in a datagrid?
There is no way I'd call "idiomatic". You need to specify on-query for datagrid and on-add-item, on-delete-item for gridedit (plus specialize dataedit-on-drilldown). I can easily help you with this as I do it all the time. See ticket http://weblocks.lighthouseapp.com/projects/18897/tickets/50-make-gridedit-deal-with-lists-as-data-source We should factor out a basic gridedit that doesn't know anything about stores and then build one with stores as data source on top of it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
