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: petr:krenzelok:trz:cz at: 28-Mar-2002 12:40

Brett Handley wrote:
>Hi Gregg, >
Hi all, I will try separate route, or we can cooperate. I think cell = face is not bad aproach, if you want to have "full control", or if you think of various handlers. Imagine coloring upon some condition, or maybe even pluggable face feel function according to some condition. That way you could create really powerfull combinations ... As for scrolling - it is not needed imo. Take the top-most pane coordinates as the cropping element. Grid doesn't need to scroll, at least vertically. It is data, which are changing, not cells themselves. Just imagine one bigger data matrix, and your visible grid area is only kind of a subface/magnifier, looking at the underlying cache. So - if someone hits arrow key down/up, page up/down, you go to cache to see if you hava data, if not, you call your handler for refilling the cache from data source. I know the aproach is a little bit complicated, but imo the only way of how to create really powerfull grid, able to browse thru tens of thousands of records. I don't want to see another "toy", which blowns up on browsing thousands of rebol block based database ... I want separate data handling layer/api, with ability to hook into SQL or other data sources ... The grid we use here at work is really cool, but it organises data in columnar data arrays = rebol blocks. I don't like it too much. It is that way to have easier handling of column addition/deletion, drag&dropping, and to easily calculate automatic columns width (pixels) adjustment element, according to the longest text (we can't do it in rebol anyway ...). But that's only the question of appropriate set-of-blocks traversing functions ... well, but that's me, my opinions, my requirements :-) Your grid is very inspiring anyway, and I can't promise anything, as I am currently overloaded with tons of work .... Cheers, -pekr-