Skip to main content

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: 26
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 working ok, empty row is show, but in modify value is not populated.

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: 1250
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: Mon Jun 25 14:22:54 GMT 2018

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

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

Back to the top