RegisterSearchFAQ UsergroupsLog in
CellSpan and selection

 
Reply to topic    Citra Technologies Forum Index » Report a Bug View previous topic
View next topic

CellSpan and selection
Author Message
jdemurcia



Joined: 02 Feb 2009
Posts: 45

Post CellSpan and selection Reply with quote
Hello,

The cellspan selection is incorrect with the tablelib v3.9.53 when using single cell selection. When the current selection is moved to the right or up, the previously selected cell sometime keeps the selection background color (on the lower part).

This used to work with version 3.9.24.

Attached is a sample code that reproduces the issue.
1. Run the main method of MyFrame.
2. Click on the merge button.
3. Select the first "a" in the second column.
4. Move the selection right with the keyboard (right arrow).



example.zip
 Description:
Sample code

Download
 Filename:  example.zip
 Filesize:  2.51 KB
 Downloaded:  297 Time(s)

Fri Nov 04, 2011 8:52 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

Thanks, I will fix it.
Mon Nov 07, 2011 4:11 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

This has been now fixed in 3.9.54.
Tue Nov 22, 2011 4:59 pm View user's profile Send private message
jdemurcia



Joined: 02 Feb 2009
Posts: 45

Post Reply with quote
Hello,

The bug is fixed when moving cursor right, however it still exists when it is moved up (from a cell span to a 'single' cell).

In the attached example, change the data of MyModell class to
Code:

   data.add(new String[] { "a", "a", "a", "a", "a", "a" });
   data.add(new String[] { "a", "b", "b", "a", "b", "b" });
   data.add(new String[] { "a", "c", "c", "a", "c", "c" });
   data.add(new String[] { "a", "d", "d", "a", "d", "d" });
   data.add(new String[] { "b", "a", "e", "b", "a", "e" });
   data.add(new String[] { "b", "b", "f", "b", "b", "f" });
   data.add(new String[] { "b", "c", "g", "b", "c", "g" });
   data.add(new String[] { "b", "d", "h", "b", "d", "h" });
   data.add(new String[] { "c", "d", "h", "b", "d", "h" });
   data.add(new String[] { "d", "c", "g", "b", "c", "g" });
   data.add(new String[] { "d", "d", "h", "b", "d", "h" });

1. Run the main method of MyFrame.
2. Click on the merge button.
3. Select the cell "d" of the first column.
4. Move the selection up with the keyboard (up arrow).

Thanks
Wed Nov 23, 2011 5:22 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
I fixed it. It should work fine now.
Fri Nov 25, 2011 9:44 am View user's profile Send private message
Display posts from previous:    

Reply to topic    Citra Technologies Forum Index » Report a Bug All times are GMT - 5 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group