I have a straight table with ~9 million rows. I can not allow the user to export to excel with so many rows.
So, my requirement is that the user gets the option to export to excel only when the number of rows comes below ~1 million.
I also want to show the dynamically updated number of rows present in the table at any instant. So that the user is aware when he/she will be able to export data and start making further selections to reduce the number of rows.
Kindly help me as I have an urgent requirement and I am in a fix.