How to disable addRowLink when rows count reach certain limit?
I have a gridLayout, and I have an addRowLink where user can add row to the grid, I want to have a row counts limit like 10, when there are 10 rows, I want the link to be disabled and user can't add more rows.
How can I disable an addRowLink
