Add a hook for datagrid static buttons