Yes, @alcampopiano’s right, it would affect all DataGrids.
I would also use custom roles to toggle the footer on and off.
For example, you could create a role called no-footer
, and amend the CSS like so:
/* Hide DataGrid footer */
.anvil-role-no-footer .data-grid-footer-panel {
display: none !important;
}
Then, the css will only apply to those DataGrids that carry the no-footer
role.