• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 80
  • Last Modified:

disable if no row exists

If there is no data

 <input type="text" ng-disabled="" />


           <table id="maingT">
 <tr ng-repeat="r in data | filter:r.rtotal" ng-if="true" >  

Open in new window

0
Seven price
Asked:
Seven price
1 Solution
 
Imran Javed ZiaCommented:
Hi,

You can use something like:

ng-disabled="data.length<=0 "
0
 
Seven priceFull StackAuthor Commented:
thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now