Posted 14 September 2017, 12:07 pm EST
Hi,
I am using visual studio 2015, typescript, angular 2 and Wijmo 5 in my project. I have questions about ListBox control.
In my project I have array of objects. In this objects I have property “Name” , this property I want to bind to ListBox. I try with next example, but no luck:
<wj-list-box #listBox
*ngIf="items"
style="height:150px;width:250px;"
[displayMemberPath]="items.Name">
</wj-list-box>
Also in ListBox control I have checkbox with event - this checkbox is also bind from object property “IsCheck”. Only one chekbox can be check, in event i always uncheck all checboxes , but this bindings are not working.
I know how to bind array of strings. But I am more interested in array of objects?
Do you have some example for this behavior that I describe?
Thank you,
M