-1

I want to make my column header sticky while scrolling. I am using class based component and AG Grid. I have checked numerous examples but mostly found everyone using function based component. Is there a way to use class based?

React Dev
  • 27
  • 7

1 Answers1

0

there is nothing different between class based or functional components while using ag-grid and it always has sticky headers under normal usage. just dont forget set the width and height of the grid and it handles the rest of the work.

farhad
  • 226
  • 3
  • 8