Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Nattable Grid find in eclipse plugin
Nattable Grid find in eclipse plugin [message #1064311] Tue, 18 June 2013 11:40 Go to next message
Testr t is currently offline Testr t
Messages: 93
Registered: April 2013
Member
Hi,

I am using the Nattable tree grid in an eclipse plugin. using Ctrl+F does open the find
dialog but only when a cell is selected. When no cells are selected in the grid the Ctrl+F shortcut to show find does not work? Is this the expected behavior?

Also when I do find on the tree grid it does only on the parent rows. Is it configurable to do the find on the child rows also if they are not expanded and then expand the matched parent?

[Updated on: Tue, 18 June 2013 14:48]

Report message to a moderator

Re: Nattable Grid find in eclipse plugin [message #1064341 is a reply to message #1064311] Tue, 18 June 2013 15:47 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1263
Registered: July 2012
Senior Member
Hi,

for the first question, that seems to be a focus issue. If the NatTable doesn't have the focus, the key event is not interpreted by the NatTable. Therefore the Ctrl+F is handled somewhere else. You might need to add a key binding in your application that needs to perform the same search action that is triggered within the NatTable.

For the second one, I think that is related to the ISearchStrategy that is used for searching. You might need to implement your own ISearchStrategy for searching in a tree. Then you need to use this in a SearchAction you need to bind like in DefaultSearchBindings.

Haven't looked at this special part of NatTable yet. Therefore I can't tell you any more details right now. Need to investigate and document that stuff first. Smile

Greez,
Dirk
Previous Topic:How can i get a hover effect in NatTable?
Next Topic:how to force refresh of child rows in tree grid
Goto Forum:
  


Current Time: Sun Aug 31 04:39:57 EDT 2014

Powered by FUDForum. Page generated in 0.02794 seconds