This is a migrated thread and some comments may be shown as answers.

Angular: Get Selected Count

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elliot
Top achievements
Rank 1
Elliot asked on 03 Jun 2015, 04:06 PM

I have a grid that multiple rows can be selected and a button that I want to enable when one or more are selected but I cant seem to find a property to bind to.  Can you point me in the right direction.  I am trying to do something like:

<button ng-disabled="vm.selectedItems.length == 0">Button Text</button>

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 05 Jun 2015, 07:36 AM
Hi Elliot,

It works in the following sample, please check it out:

http://dojo.telerik.com/UFaHA

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Elliot
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or