hidden field depends on current page

For example, I have Site resource which show server_ip of server which it belongs to.
In the server edit page, I have a SitesRelationManager to show list sites of the server.

I reuse the method SiteResource::table($table), so how could I hiden the server_ip column only in the EditServer page?
Was this page helpful?