Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Version 0.1 of a grid style

From: brett:codeconscious at: 29-Mar-2002 11:27

Hi Petr and Gregg, Oops #1 - Sorry for the mistaken post.
> The grid demos on your site are great. The first one doesn't run. I think > it's because it's using DO instead of USE-SCRIPT on %face-grid.r.
Oops #2 - An intended reversion. I have a modified user.r to with the upside that things are made convenient for myself and the downside that I don't see what everyone else does. I think I'll revert to a standard user.r since long term that save far more work.
> << *I'd like to see some easy way to plug in controller(s) for handling > data and validation. A problem is creating/handling data events > generically when you don't know what the cell face is that will > show/edit it. I'd like to avoid forcing a special api/behaviour on the > cell faces, but maybe that is the only way. >> > > What about a callback/handler function?
Yes I think that is the answer. My query arose in the context of the case where the grid is dealing with an arbitrary cell face. You don't know what style the user is going to give you and therefore what their behaviours are. But given the other comments in your email and Petr's great comments it is not such a big problem, because maybe we make some contraints that remove the issue. Brett.