Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » int a tableview with image in the cell, table always jump back to the first row.(int a tableview with image in the cell, table always jump back to the first row.)
int a tableview with image in the cell, table always jump back to the first row. [message #989981] Mon, 10 December 2012 10:33 Go to next message
Lee Juu is currently offline Lee JuuFriend
Messages: 1
Registered: December 2012
Junior Member


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 16:10 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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.
Previous Topic:GLCanvas does not receive paint events
Next Topic:Assertion Fail
Goto Forum:
  


Current Time: Fri Apr 19 14:00:47 GMT 2024

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

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

Back to the top