A FlexTable instead of a grid would allow you to span columns in a row, add
padding, and put a label in it.
The only problem you will hit is that cell numbers get right complicated. In
your example, you seem to have a granularity of 15m so on row one, you'd
have 8 empty cells, then another cell spanning 0900-1445, then the next cell
would be #9 (1445-1500), on an empty row, it would be #31 (as would the cell
two below it on the third row would be).

It definitely depends on how you are dealing with this - you could, for
example, simply have a start-use image followed by any number of in-use
images followed  by and end-use image. But I dare say you are going to want
to put text in there at some time, in which case you need to span.

Ian

http://examples.roughian.com


2009/10/15 grue <[email protected]>

>
> Hi,
>
> I have implementet some sort of calendar widget using a Grid. This
> calendar is supposed to show the availability of
> various things. To indicate that a particular object is occupied in a
> given timeframe I want to draw some "bars" across the calendar.
> Look at http://picbattle.ch/calendar.png to see how it should look
> like.
> Since the calendar can grow very big it is inside a ScrollPanel. Now,
> my question is what would be the best way to draw the "bars"
> across the grid? The important thing is that they should scroll along
> with the grid.
>
> Thanks in advance for any hints,
> Michael
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to