-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a listbox in a MVVM form that uses the checkmark and multiple attributes, like:
<listbox model="@load(vm.children) @save(vm.children,before='save')" checkmark="true" multiple="true" selectedItems="@bind(vm.selectedChildren)" width="150px">
I cant' work out how to set the initial 'checked state of the items in the list box.
Any suggestions?
I've tried using model.addToSelection and it doesn't work.
Asked: 2013-07-16 11:26:30 +0800
Seen: 13 times
Last updated: Jul 16 '13