Grid Row Span [message #45402] |
Mon, 07 January 2008 10:00  |
Eclipse User |
|
|
|
The Grid control has a code snippet for column spanning, and I can see
that the header can have spanned rows. Can I have spanned rows for a
column in the main body? Can that block span rows and columns? Does it
even allow for L shaped merges? Just trying to find out how far away the
merging capabilities are from KTable or what you would expect in a
spreadsheet like Excel or Calc.
Mark
|
|
|
|
|
|
|
Re: Grid Row Span [message #45918 is a reply to message #45886] |
Tue, 08 January 2008 18:10   |
Eclipse User |
|
|
|
Correct. Grid is like most typical widgets. One widget, just drawing
content.
Regards,
-Chris
Mark Proctor wrote:
> >>Christopher J Gross wrote:
> >>
> >> Hi Mark,
> >>
> >> Grid does not use other internal controls to represent cells or for
> any other reason. The entire contents of Grid are drawn on the main
> Grid widget. Adding this feature to Grid would require some reasonably
> significant changes. Currently the Grid only draws rows in the visible
> range, but if we allow row spanning, then it will also (sometimes) need
> to draw rows that are scrolled out of view. This would mean a
> reasonably significant change to the onPaint method. There will also be
> alot of other changes throughout the Grid.
> >>
> >> Regards,
> >> -Chris
> So Grid is not working like CompositeTable it is actually drawn more
> like KTable? KTable had full L shaped merging, hmm wonder if anything
> can be leveraged.
>
> Chris Gross wrote:
>> Hi Mark,
>>
>> Currently the Grid only does column spanning (i.e. horizontal) but not
>> row spanning (i.e. vertical). That is a feature I'd like to add but I
>> don't have a timeframe for it.
>>
>> Regards,
>> -Chris
>>
>> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
>> allows rectangular merges.
>>
>> Mark Proctor wrote:
>>> The Grid control has a code snippet for column spanning, and I can
>>> see that the header can have spanned rows. Can I have spanned rows
>>> for a column in the main body? Can that block span rows and columns?
>>> Does it even allow for L shaped merges? Just trying to find out how
>>> far away the merging capabilities are from KTable or what you would
>>> expect in a spreadsheet like Excel or Calc.
>>>
>>> Mark
|
|
|
Re: Grid Row Span [message #60347 is a reply to message #45466] |
Fri, 07 November 2008 23:28  |
Eclipse User |
|
|
|
Chris Gross wrote:
> Hi Mark,
>
> Currently the Grid only does column spanning (i.e. horizontal) but not
> row spanning (i.e. vertical). That is a feature I'd like to add but I
> don't have a timeframe for it.
Just thought I'd check in to see if there was any news on this feature
and whether anyone had time to do it?
>
> Regards,
> -Chris
>
> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
> allows rectangular merges.
Yes sorry I meant it would detect and disallow L shapes, i.e.
overlapping regions.
>
> Mark Proctor wrote:
>> The Grid control has a code snippet for column spanning, and I can see
>> that the header can have spanned rows. Can I have spanned rows for a
>> column in the main body? Can that block span rows and columns? Does it
>> even allow for L shaped merges? Just trying to find out how far away
>> the merging capabilities are from KTable or what you would expect in a
>> spreadsheet like Excel or Calc.
>>
>> Mark
|
|
|
Re: Grid Row Span [message #587214 is a reply to message #45402] |
Mon, 07 January 2008 12:52  |
Eclipse User |
|
|
|
Hi Mark,
Currently the Grid only does column spanning (i.e. horizontal) but not
row spanning (i.e. vertical). That is a feature I'd like to add but I
don't have a timeframe for it.
Regards,
-Chris
p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
allows rectangular merges.
Mark Proctor wrote:
> The Grid control has a code snippet for column spanning, and I can see
> that the header can have spanned rows. Can I have spanned rows for a
> column in the main body? Can that block span rows and columns? Does it
> even allow for L shaped merges? Just trying to find out how far away the
> merging capabilities are from KTable or what you would expect in a
> spreadsheet like Excel or Calc.
>
> Mark
|
|
|
Re: Grid Row Span [message #587267 is a reply to message #45466] |
Mon, 07 January 2008 21:58  |
Eclipse User |
|
|
|
Chris Gross wrote:
> Hi Mark,
>
> Currently the Grid only does column spanning (i.e. horizontal) but not
> row spanning (i.e. vertical). That is a feature I'd like to add but I
> don't have a timeframe for it.
I won't to do a port of Drools Decision Tables, so we'll need this to
proceed:
http://labs.jboss.com/file-access/default/members/drools/ima ges/decisiontable1.png
I'll have a look over the src code see how difficult this is to add.
Does this in reality involve floating areas anchored to a point,
emulating a spreadhseet view with composites? How performant is that,
compared to the KTable approach?
>
> Regards,
> -Chris
>
> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
> allows rectangular merges.
>
> Mark Proctor wrote:
>> The Grid control has a code snippet for column spanning, and I can see
>> that the header can have spanned rows. Can I have spanned rows for a
>> column in the main body? Can that block span rows and columns? Does it
>> even allow for L shaped merges? Just trying to find out how far away
>> the merging capabilities are from KTable or what you would expect in a
>> spreadsheet like Excel or Calc.
>>
>> Mark
|
|
|
Re: Grid Row Span [message #587281 is a reply to message #45585] |
Tue, 08 January 2008 02:44  |
Eclipse User |
|
|
|
If you have found out something could you file a bugzilla and post the
id so people interest can attach?
Tom
Mark Proctor schrieb:
> Chris Gross wrote:
>> Hi Mark,
>>
>> Currently the Grid only does column spanning (i.e. horizontal) but not
>> row spanning (i.e. vertical). That is a feature I'd like to add but I
>> don't have a timeframe for it.
> I won't to do a port of Drools Decision Tables, so we'll need this to
> proceed:
> http://labs.jboss.com/file-access/default/members/drools/ima ges/decisiontable1.png
>
>
> I'll have a look over the src code see how difficult this is to add.
> Does this in reality involve floating areas anchored to a point,
> emulating a spreadhseet view with composites? How performant is that,
> compared to the KTable approach?
>>
>> Regards,
>> -Chris
>>
>> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
>> allows rectangular merges.
>>
>> Mark Proctor wrote:
>>> The Grid control has a code snippet for column spanning, and I can
>>> see that the header can have spanned rows. Can I have spanned rows
>>> for a column in the main body? Can that block span rows and columns?
>>> Does it even allow for L shaped merges? Just trying to find out how
>>> far away the merging capabilities are from KTable or what you would
>>> expect in a spreadsheet like Excel or Calc.
>>>
>>> Mark
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: Grid Row Span [message #587388 is a reply to message #45466] |
Tue, 08 January 2008 13:39  |
Eclipse User |
|
|
|
>>Christopher J Gross wrote:
>>
>> Hi Mark,
>>
>> Grid does not use other internal controls to represent cells or for
any other reason. The entire contents of Grid are drawn on the main
Grid widget. Adding this feature to Grid would require some reasonably
significant changes. Currently the Grid only draws rows in the visible
range, but if we allow row spanning, then it will also (sometimes) need
to draw rows that are scrolled out of view. This would mean a
reasonably significant change to the onPaint method. There will also be
alot of other changes throughout the Grid.
>>
>> Regards,
>> -Chris
So Grid is not working like CompositeTable it is actually drawn more
like KTable? KTable had full L shaped merging, hmm wonder if anything
can be leveraged.
Chris Gross wrote:
> Hi Mark,
>
> Currently the Grid only does column spanning (i.e. horizontal) but not
> row spanning (i.e. vertical). That is a feature I'd like to add but I
> don't have a timeframe for it.
>
> Regards,
> -Chris
>
> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
> allows rectangular merges.
>
> Mark Proctor wrote:
>> The Grid control has a code snippet for column spanning, and I can see
>> that the header can have spanned rows. Can I have spanned rows for a
>> column in the main body? Can that block span rows and columns? Does it
>> even allow for L shaped merges? Just trying to find out how far away
>> the merging capabilities are from KTable or what you would expect in a
>> spreadsheet like Excel or Calc.
>>
>> Mark
|
|
|
Re: Grid Row Span [message #587401 is a reply to message #45886] |
Tue, 08 January 2008 18:10  |
Eclipse User |
|
|
|
Correct. Grid is like most typical widgets. One widget, just drawing
content.
Regards,
-Chris
Mark Proctor wrote:
> >>Christopher J Gross wrote:
> >>
> >> Hi Mark,
> >>
> >> Grid does not use other internal controls to represent cells or for
> any other reason. The entire contents of Grid are drawn on the main
> Grid widget. Adding this feature to Grid would require some reasonably
> significant changes. Currently the Grid only draws rows in the visible
> range, but if we allow row spanning, then it will also (sometimes) need
> to draw rows that are scrolled out of view. This would mean a
> reasonably significant change to the onPaint method. There will also be
> alot of other changes throughout the Grid.
> >>
> >> Regards,
> >> -Chris
> So Grid is not working like CompositeTable it is actually drawn more
> like KTable? KTable had full L shaped merging, hmm wonder if anything
> can be leveraged.
>
> Chris Gross wrote:
>> Hi Mark,
>>
>> Currently the Grid only does column spanning (i.e. horizontal) but not
>> row spanning (i.e. vertical). That is a feature I'd like to add but I
>> don't have a timeframe for it.
>>
>> Regards,
>> -Chris
>>
>> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
>> allows rectangular merges.
>>
>> Mark Proctor wrote:
>>> The Grid control has a code snippet for column spanning, and I can
>>> see that the header can have spanned rows. Can I have spanned rows
>>> for a column in the main body? Can that block span rows and columns?
>>> Does it even allow for L shaped merges? Just trying to find out how
>>> far away the merging capabilities are from KTable or what you would
>>> expect in a spreadsheet like Excel or Calc.
>>>
>>> Mark
|
|
|
Re: Grid Row Span [message #592662 is a reply to message #45466] |
Fri, 07 November 2008 23:28  |
Eclipse User |
|
|
|
Chris Gross wrote:
> Hi Mark,
>
> Currently the Grid only does column spanning (i.e. horizontal) but not
> row spanning (i.e. vertical). That is a feature I'd like to add but I
> don't have a timeframe for it.
Just thought I'd check in to see if there was any news on this feature
and whether anyone had time to do it?
>
> Regards,
> -Chris
>
> p.s. I don't believe Excel even allows L shaped cells. AFAIK it only
> allows rectangular merges.
Yes sorry I meant it would detect and disallow L shapes, i.e.
overlapping regions.
>
> Mark Proctor wrote:
>> The Grid control has a code snippet for column spanning, and I can see
>> that the header can have spanned rows. Can I have spanned rows for a
>> column in the main body? Can that block span rows and columns? Does it
>> even allow for L shaped merges? Just trying to find out how far away
>> the merging capabilities are from KTable or what you would expect in a
>> spreadsheet like Excel or Calc.
>>
>> Mark
|
|
|
Powered by
FUDForum. Page generated in 0.06185 seconds