+ Start a Discussion
Rishabh Sharma 52Rishabh Sharma 52 

How to pass count of opportunities from each row of a table to client side controller?

Hi ,

I have a requirement to disable anchor tag/hyperlink from a column in table if value of that column is 0. 
The table is dynamic and data in the table is fetched from apex controller.
Any ideas?
brahmaji tammanabrahmaji tammana
You may have to try using aura:if to check whether the value is 0 or not.
<aura:if isTrue="{!v.counter == 0}">
	<!-- Anchor tag -->
	<aura:set attribute="else">
		<!-- Just show empty -->