1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Setting items property for Combo widget in Display Builder |
From: | "Kasemir, Kay" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 2 Jul 2018 19:04:34 +0000 |
>I have a Display Builder script that is updating the ‘items’ property of a Combo widget. However, sometimes the combo dropdown does not get updated with the new values. >In my script I am running this line: > widget.setPropertyValue("items", available_cuboid_names)For the record, this has just been fixed, but for what it's worth the Combo example as well as the online help for the ComboWidget API suggest calling widget.setItems(Collection<String>) to update the combo box items from a script. -Kay |