Sorry, we misnamed the property. It's actually dataSetType:
https://smartclient.com/smartclient-...st.dataSetType
Announcement
Collapse
No announcement yet.
X
-
That would be great, but I don't see a "dataModelType" property in the online docs nor attached to a SelectItem when inspecting the client form item instance. I'm using the client only components V13.
Leave a comment:
-
You can just use a SelectItem and set the dataModelType to tree, then you get a drop-down that basically works like a TreeGrid, and you can use specialValues and other pickList features.
Leave a comment:
-
Bump...
Is there a way to clear a selection (default to root) such as either showing the root value in the dropdown (setting the item's valueTree showRoot=true doesn't work), or having "specialValues" as in a picklist? I can add a button to the form to "Clear Selection" (set the pickTreeItem value to whatever), but it would be better if it was in the dropdown selection itself, if possible.
Leave a comment:
-
If you use a valueField *and* displayField, the valueField can be null and the displayField can have something like "[Empty]" or whatever you want to show to the end user for an empty value.
Leave a comment:
-
Empty value for PickTreeItem
Is it possible to have an empty value for a PickTreeItem after selecting a value?
If you look at the example at https://www.smartclient.com/smartcli...e/?id=pickTree, it starts with an "empty value", but after selecting it, it cannot be changed back to an empty value or can it?Tags: None
Leave a comment: