I solve this problem in this way.
IsEmpty as a dependent observable and for html, instead using visible
binding i use 1.3 feature for templates "if"
viewModel.emptyArray= ko.dependentObservable(function () {
return this.ArrayWithItems().length==0;
}, viewModel);
<ul>
<!-- ko foreach: ArrayWithItems -->
<li> items for array... </li>
<!-- /ko -->
<li data-bind="if: emptyArray">
¡¡¡No records message!!!
</li>
<ul>
It's not the same like Visible, becouse in this way i have the "<li>"
for emtpy rows only when the list is empty.
> > sent from an internet enabled devicehttp://barkmadley.com- Hide quoted text -
>
> - Show quoted text -