The tableViewer select the wrong row when invoke tableViewer.remove(obj) [message #555298] |
Thu, 26 August 2010 05:16  |
Eclipse User |
|
|
|
Hi all experts,
The tableViewer select the wrong row when invoke tableViewer.remove(obj);
I Write a example rap appication that create a table contains tree records.
such as:
ID=1 NAME=name1
ID=2 NAME=name2
ID=3 NAME=name3
Then I can reproduce the problem by the following steps.
1、select the second record (ID=2 NAME=name2)
2、delete the first record (ID=1 NAME=name1)
Then the table will select the wrong record (The third recode: ID=3 NAME=name3)
But the right selection must be the record I selected last time.(That is ID=2 NAME=name2)
The problem exists in the RAP version of 1.2 and 1.3 release.
Best Regards.
|
|
|
|
|
Re: The tableViewer select the wrong row when invoke tableViewer.remove(obj) [message #555341 is a reply to message #555337] |
Thu, 26 August 2010 07:43  |
Eclipse User |
|
|
|
Hi lyp,
I will suggest to look in RAP bugzilla for a similar issues, fixed in
1.3. If you are lucky, there will be a patch for it. Something like this
bug:
280891: [Table] Row selection stay in empty table in some case
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280891
Best,
Ivan
On 08/26/2010 2:32 PM, lyp wrote:
> Hi Ivan,
> My code works fine in RCP, but works wrong in RAP 1.2.
> And I found that in RAP1.3 it works fine.
>
> For some reasons, I cannot update to RAP1.3 recently.
> So how to fix the bug in RAP1.2, is there some patch to solve the
> problem in RAP1.2?
>
> Thanks a lot.
|
|
|
Powered by
FUDForum. Page generated in 0.08950 seconds