Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SpecialValues - more info on this?

$
0
0
taking a look at specialValues for the first time and I'm not able to get it to work.

Browser: Chrome (latest version)
SmartClient LGPL: Version v10.0p_2014-10-06/LGPL Development Only (2014-10-06)

I'm not seeing the special values in our dropdown at all. However, if I select an item and then unselect it, I'm seeing the "None" in the combobox item. I'm using a build from Oct 6th - I'll try to update and see if it starts working.

I've also noticed some inconsistencies with the documentation / examples around this new feature I wanted to bring to your attention:

If I look at the showcase example here:
http://www.smartclient.com/#specialValuesNewSample

This seems to contradict the documentation shown here:
http://www.smartclient.com/docs/10.0/a/b/c/go.html#classAttr..PickList.emptyStoredValue

If you look at the defaultValue for the constant, it is "emptyValue" but the code example shows "EmptyValue"

Furthermore, I'm not able to find a central place that has all the possible constants / values that may be provided in the specialValues map. Is there a list of these somewhere? Specifically "All" and "None".

Finally, is there a way to have a specialValue also call a function that we write? I'm assuming no since it must be provided as a valueMap.

Viewing all articles
Browse latest Browse all 4756

Trending Articles