int a tableview with image in the cell, table always jump back to the first row. [message #989981] |
Mon, 10 December 2012 05:33  |
Eclipse User |
|
|
|
in a table, users can modify the content of a cell. (EditingSupport)
if the content is not correct, then a error image will appear in the front of this cell. (TableLabelProvider, will determinate this)
The problem is, when users input the wrong content(in any cell), the table will automatically jump back to the first row!! annoying
Any one who knows how to fix this? Thanks.
|
|
|
Re: int a tableview with image in the cell, table always jump back to the first row. [message #990039 is a reply to message #989981] |
Mon, 10 December 2012 11:10  |
Eclipse User |
|
|
|
So how to you say the view to update it? My guess is that you call
refresh() which is wrong.
You should only call update(element,null)
Tom
Am 10.12.12 15:37, schrieb Lee Juu:
>
>
> in a table, users can modify the content of a cell. (EditingSupport)
>
> if the content is not correct, then a error image will appear in the
> front of this cell. (TableLabelProvider, will determinate this)
>
> The problem is, when users input the wrong content(in any cell), the
> table will automatically jump back to the first row!! annoying
>
> Any one who knows how to fix this? Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.27112 seconds