DEV Community

hoangthanh168
hoangthanh168

Posted on

Answer: How to customise datagrid footer by adding a new field next to the pagination

The question has already solved, but I want to share my interesting solution.

CustomFooter () {
  return (
    <GridFooterContainer&gt
      {/* Add what you want here */}
      <GridFooter sx={{
        border: 'none', // To delete double border.
        }} />
    </GridFooterContainer>
  );
}

GridFooterContainer is a pre-defined componenet that provides border-top and display…

Top comments (0)