how to the disable dropdata button in ratel
I would recommend that you set up security to disallow alter operations unless a security token is present. That wouldn’t disable the button, but it would make it ineffective.
See: https://dgraph.io/docs/deploy/admin/dgraph-administration/#secure-alter-operations