|
|
Re: In table editing questions [message #1277715 is a reply to message #1277308] |
Wed, 26 March 2014 11:09 |
Urs Beeli Messages: 573 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Jeremie Bresson wrote on Tue, 25 March 2014 21:40Urs Beeli wrote on Fri, 21 March 2014 09:17When I then press TAB the focus moves back to the first IntegerColumn of the row, skipping the BooleanColumn containing the checkbox. The only way I can change the value of the BooleanColumn is using the mouse
I am not sure if the Boolean Column can be edited (with a field like the other columns). This kind of limitation goes in the same direction like the error marker in boolean column mentioned here.
Thanks. In that case we'll probably have to use a CodeType<Boolean> and use a SmartColumn instead of the checkbox.
Jeremie Bresson wrote on Tue, 25 March 2014 21:40
Urs Beeli wrote on Fri, 21 March 2014 09:17Will the validateOnAnyKey also work on Column cells?
With bug 398283, validateOnAnyKey was added to Number and Decimal fields. There is also a getConfiguredValidateOnAnyKey on the number column. Isn't it?
You are right of course. I had looked but must have missed it. Looking again I saw the property.
Jeremie Bresson wrote on Tue, 25 March 2014 21:40Urs Beeli wrote on Fri, 21 March 2014 09:17And is there a possibility to programmatically move the focus to a specific column/cell of a row/table?
You should try it. I am not sure how it was implemented. I am not sure how
* Control#traverse(SWT.TRAVERSE_TAB_NEXT)
* Control#traverse(SWT.TRAVERSE_TAB_PREVIOUS)
will react in a table...
I'll try it out when I next find a little time. I'll get back to you on this when I've tried it out.
[Updated on: Wed, 26 March 2014 11:10] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03628 seconds