Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid Row Span
Grid Row Span [message #45402] Mon, 07 January 2008 15:00 Go to next message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
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 #45466 is a reply to message #45402] Mon, 07 January 2008 17:52 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
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 #45585 is a reply to message #45466] Tue, 08 January 2008 02:58 Go to previous messageGo to next message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
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 #45615 is a reply to message #45585] Tue, 08 January 2008 07:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
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 #45886 is a reply to message #45466] Tue, 08 January 2008 18:39 Go to previous messageGo to next message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
>>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 #45918 is a reply to message #45886] Tue, 08 January 2008 23:10 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
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] Sat, 08 November 2008 04:28 Go to previous message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
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 17:52 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
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] Tue, 08 January 2008 02:58 Go to previous message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
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 07:44 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
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 18:39 Go to previous message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
>>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 23:10 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
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] Sat, 08 November 2008 04:28 Go to previous message
Mark Proctor is currently offline Mark ProctorFriend
Messages: 18
Registered: July 2009
Junior Member
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
Previous Topic:Wrong time in CDateTime
Next Topic:DateChooser - detecting 'enter' key
Goto Forum:
  


Current Time: Thu Dec 18 20:26:22 GMT 2014

Powered by FUDForum. Page generated in 0.11836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software