You need to sign in to do that
Don't have an account?
Nitish 73
Custom Button conditional render
Hi All,
I have a requirement where I need to render a button based on certain condition.
The condition is
Thanks
Nitish
I have a requirement where I need to render a button based on certain condition.
The condition is
- Show the 'View All' button if there are more than 3 records in the table that is displayed on the visualforce page. So that when they click that , it will show more records.
<apex:commandButton rendered="{!if(({!AC.size} >3) ,true,false)}" value="View All" onclick="return false;" html-data-toggle="modal" html-data-target="#myModal" styleClass="btn-success"/>It is throwing an error . Can anybody help me with this?
Thanks
Nitish
Please change your rendered code as mentioned below : Let me know if you have any other issue.
Thanks,
Abhishek
All Answers
Please change your rendered code as mentioned below : Let me know if you have any other issue.
Thanks,
Abhishek
Really appreciate it.
Thanks
Nitish
If you have got your solution than please close this question by marking it as Solved so that it would be helpful for others to find a solution and also avoids the confusion.
Thanks,
Abhishek
Thanks
Nitish