Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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: 25
Registered: August 2014
Junior 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: 1237
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: Sat May 27 15:41:35 GMT 2017

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

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