Clue Mediator

Set AG Grid pagination to the left side

๐Ÿ“…October 5, 2021
๐Ÿ—ReactJS

Today weโ€™ll show you how to set AG Grid pagination to the left side. In this article, we will align the AG Grid pagination to the left using CSS.

Checkout more articles on ReactJS

Demo Application

Output - Set AG Grid pagination to the left side - Clue Mediator

Output - Set AG Grid pagination to the left side - Clue Mediator

Way to set AG Grid pagination to the left side

  1. Implement AG Grid pagination
  2. Add CSS to align the pagination
  3. Output

1. Implement AG Grid pagination

First of all, we have to implement the AG Grid pagination. Check the following articles to implement pagination to the React AG Grid.

2. Add CSS to align the pagination

Now, to adjust the pagination to the left we have to add the following line in CSS.

.ag-paging-panel {
  justify-content: flex-start;
}

3. Output

Run the application and check the output in the browser.

I hope you find this article helpful.
Thank you for reading. Happy Coding..!! ๐Ÿ™‚