Have you considered using a TableView with custom cell editors and renderers for this?
On Jul 10, 2011, at 5:06 AM, Eugene Kondrashev wrote: > Hi! > > I need to implement a component that would be something between calendar and > table view. > > Let me explain. > In general it should be a grid, much like ms excel grid with possibility to > select ranges of cells. > Cells should be clickable handle single and double clicks. > > Described component is similar to the calendar with one difference, - I need > to render some panel in the cell along with the date itself. > > And even more - displaying time period should be much more flexible. It > should include such time frames as: > - Quarlat view(three monthes) - it is the most general view with only three > cells and one row > - Month view (the classic calendar) > - Week view - 7 cells and 1 row > - Day view - 6 cells and 4 rows (24h) > > In general, the dimension should be set one per creation time. > > So, the question is what component should a take as a base? > Should it be a TableView or a Calendar itself? > Any thoughts? > > Thanks, > Eugene
