Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Empty row in smartfield
Empty row in smartfield [message #1744448] Tue, 27 September 2016 07:35 Go to next message
Luka Cavic is currently offline Luka CavicFriend
Messages: 47
Registered: August 2014
Member
in eclipse scout mars:

how to add empty row in smart field, so user can select nothing and he is not forced to select some value in smart field.

In sql if I add SELECT 0, '' UNION SELECT id, name FROM users...is working ok, empty row is show, but in modify value is not populated.

Thanks.
Re: Empty row in smartfield [message #1744586 is a reply to message #1744448] Wed, 28 September 2016 15:22 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I am not sure if Eclipse Scout supports this construct of a row having an empty text.

The way to clear a value in a SmartField is to delete the text. In this case the value in of the SmartField is set to null. If the value is not mandatory the user can save the form.

Can you check if your example is working, can you check if it works if you add some text associated with your 0 value. Something like "(empty)" or "---"
Previous Topic:TablePage - programaticaly show or hide DetailForm
Next Topic:textarea in Scout?
Goto Forum:
  


Current Time: Fri Apr 26 22:55:28 GMT 2024

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

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

Back to the top