Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » handle page up/down events in nattable
handle page up/down events in nattable [message #1778462] Thu, 14 December 2017 14:11 Go to next message
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 22
Registered: April 2015
Junior Member
Hi,
I couldn't find any way to handle page up/down events in Nattable. Any help would be appreciated.
Re: handle page up/down events in nattable [message #1778472 is a reply to message #1778462] Thu, 14 December 2017 15:42 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
Don't understand the question. Where do the events come from? How do you trigger them and what do you want to achieve?
Re: handle page up/down events in nattable [message #1778474 is a reply to message #1778472] Thu, 14 December 2017 16:04 Go to previous messageGo to next message
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 22
Registered: April 2015
Junior Member
I want whenever the user presses the pageup/down key, the first/final row of the table becomes visible.
Re: handle page up/down events in nattable [message #1778483 is a reply to message #1778474] Thu, 14 December 2017 17:55 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
This can be done via UI binding configurations. For page up and page down there is already a configuration in the DefaultSelectionBindings. Have a look at that class to see how this is done.

https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/selection/config/DefaultSelectionBindings.java
Re: handle page up/down events in nattable [message #1778637 is a reply to message #1778483] Tue, 19 December 2017 08:14 Go to previous messageGo to next message
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 22
Registered: April 2015
Junior Member
Thank you, but those configurations do not work. It seems that there is no command handler defined for MoveSelectionCommand,
Re: handle page up/down events in nattable [message #1778638 is a reply to message #1778637] Tue, 19 December 2017 08:27 Go to previous message
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 22
Registered: April 2015
Junior Member
Sorry, I found it.
Previous Topic:define the hot key for copy // select all // paste
Next Topic:why column header can not fully copied
Goto Forum:
  


Current Time: Fri Nov 16 05:59:41 GMT 2018

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

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

Back to the top