Disable add item button in table layout.
Scenario:-
1. In the UI, you add one table with some column.
2. Maximum 5 rows of data will be allowed to add. After entering the 5th row. Add item button will be disabled automatically.
3. If we delete some row, then Add item button will be enabled.
Could somebody help me with this requirement!?