Scrolling SWT Table programmatically

后端 未结 3 1185
梦如初夏
梦如初夏 2020-12-31 09:41

How to do vertical scroll of SWT table programatically? I\'m implementing search function on the table. When an item was found then it will be scrolled to the item found.

3条回答
  •  失恋的感觉
    2020-12-31 10:12

    I don't really know what you need the search for, but you might also consider filtering the table to get to your desired element(kind of like a quick search).

    Check it out: http://eclipsesource.com/blogs/2012/10/26/filtering-tables-in-swtjface/

    Hope it helps, cheers!

提交回复
热议问题