Skip to main content



      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 02:09 Go to next message
Eclipse UserFriend
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 02:48 Go to previous messageGo to next message
Eclipse UserFriend
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 05:16 Go to previous messageGo to next message
Eclipse UserFriend
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 05:25 Go to previous messageGo to next message
Eclipse UserFriend
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 05:59 Go to previous messageGo to next message
Eclipse UserFriend
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 06:06 Go to previous messageGo to next message
Eclipse UserFriend
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 07:47 Go to previous message
Eclipse UserFriend
Thank you very much Dirk Smile

[Updated on: Tue, 27 August 2013 07:48] by Moderator

Previous Topic:Cell spanning
Next Topic:need checkbox only when editable
Goto Forum:
  


Current Time: Sun Nov 09 18:42:52 EST 2025

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

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

Back to the top