Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [SOLVED] Nebula GridTableViewer: how to update the inputs?
[SOLVED] Nebula GridTableViewer: how to update the inputs? [message #1784981] Fri, 06 April 2018 15:00 Go to next message
Antonio Gagliardi is currently offline Antonio GagliardiFriend
Messages: 2
Registered: January 2018
Junior Member
Hi,
I use RAP 3.4 with Nebula GridTableViewer also with an editable column but if i call setInput again with display.timerExec nothing happen.

Is there a way to update GridTableViewer inputs after the creation?

Regards,
Antonio

[Updated on: Mon, 09 April 2018 12:12]

Report message to a moderator

Re: Nebula GridTableViewer: how to update the inputs? [message #1785014 is a reply to message #1784981] Sat, 07 April 2018 07:11 Go to previous messageGo to next message
Chris Merg is currently offline Chris MergFriend
Messages: 12
Registered: January 2018
Junior Member
Did you try refresh() after setInput ?
Re: Nebula GridTableViewer: how to update the inputs? [message #1785060 is a reply to message #1785014] Sun, 08 April 2018 20:59 Go to previous messageGo to next message
Chris Fairhall is currently offline Chris FairhallFriend
Messages: 221
Registered: February 2011
Senior Member
You shouldn't need to call refresh, setInput effectively calls the same internal method as refresh(boolean)

Have you tried taking timerExec out of the equation?
Try simplifying things until it works. I haven't used GridTableViewer but I've had no issues with GridTreeViewer on 3.2.0 or 3.5.0 M2.
I don't swap inputs on my grid viewers but I do on table viewers and have no issue with it refreshing.
Re: Nebula GridTableViewer: how to update the inputs? [message #1785092 is a reply to message #1785060] Mon, 09 April 2018 12:01 Go to previous message
Antonio Gagliardi is currently offline Antonio GagliardiFriend
Messages: 2
Registered: January 2018
Junior Member
I found an old post about Eclipse RAP Grid https://eclipsesource.com/blogs/2012/06/29/nebula-grid-widget-on-rap/ where
Quote:
Please note that the Grid can't be used as a replacement for virtual Tree or Table because of its limited virtual capabilities.


I've removed the SWT.VIRTUAL from the style and the setInput works.

Thanks anyway.

Regards,
Antonio
Previous Topic:Multiple RAP Sessions lead to Session Timeout
Next Topic:Shell.setSize within SWT.Resize listener not working
Goto Forum:
  


Current Time: Wed Apr 24 19:45:39 GMT 2024

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

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

Back to the top