Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Making cell editable on user inputs.(If any cell is selected and user begin to type some thing from key board then cell should come in editable mode and what ever user pressed should be set in that cell by pressing enter.)
Making cell editable on user inputs. [message #1095496] Tue, 27 August 2013 06:09 Go to next message
Courtney Jines is currently offline Courtney JinesFriend
Messages: 13
Registered: September 2012
Junior Member
Hi,

I have a requirement like,If there is any selected cell in NatTable and user starts typing (without pressing f2 or making cell in editable mode) then cell should come in editable mode and all keyboard inputs should be set in cell.

Please suggest any solution.
Thanks in advance.
Re: Making cell editable on user inputs. [message #1095515 is a reply to message #1095496] Tue, 27 August 2013 06:48 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
Hi,

That's the default behaviour in NatTable already. Doesn't it work for you?

Greez,
Dirk
Re: Making cell editable on user inputs. [message #1095600 is a reply to message #1095515] Tue, 27 August 2013 09:16 Go to previous messageGo to next message
Courtney Jines is currently offline Courtney JinesFriend
Messages: 13
Registered: September 2012
Junior Member
Thanks Dirk for you quick reply.

No, It doesn't work. Can you please suggest How can I enable that feature.

Thanks
Courtney
Re: Making cell editable on user inputs. [message #1095605 is a reply to message #1095600] Tue, 27 August 2013 09:25 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
Do you use the GridLayer? There automatically the edit bindings are registered that should perform that action.

Does pressing F2 enable the editing? Which NatTable version are you using?
Re: Making cell editable on user inputs. [message #1095625 is a reply to message #1095605] Tue, 27 August 2013 09:59 Go to previous messageGo to next message
Courtney Jines is currently offline Courtney JinesFriend
Messages: 13
Registered: September 2012
Junior Member
We are using NatTableBuilder. Yes F2 works and we are using NatTable version 1.0.0.(latest release).
Re: Making cell editable on user inputs. [message #1095630 is a reply to message #1095625] Tue, 27 August 2013 10:06 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
First the latest release is 1.0.1
Second we don't release NatTable Builder and therefore we don't support it. Maybe the builder code is missing some configuration.

I suggest to have a look at the examples and build your NatTable like shown there.
Re: Making cell editable on user inputs. [message #1095689 is a reply to message #1095630] Tue, 27 August 2013 11:47 Go to previous message
Courtney Jines is currently offline Courtney JinesFriend
Messages: 13
Registered: September 2012
Junior Member
Thank you very much Dirk Smile

[Updated on: Tue, 27 August 2013 11:48]

Report message to a moderator

Previous Topic:RAP support
Next Topic:BlinkLayer with GroupByDataLayer
Goto Forum:
  


Current Time: Wed Nov 26 03:14:02 GMT 2014

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

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