Skip to main content



      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 09:11 Go to next message
Eclipse UserFriend
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 10:42 Go to previous messageGo to next message
Eclipse UserFriend
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 11:04 Go to previous messageGo to next message
Eclipse UserFriend
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 12:55 Go to previous messageGo to next message
Eclipse UserFriend
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 03:14 Go to previous messageGo to next message
Eclipse UserFriend
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 03:27 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 22:19:37 EDT 2025

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

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

Back to the top