ShakibDShy

Customized Table Example

Learn how to customize the appearance and behavior of your table with React Table Grid

This example demonstrates how to further customize your table by using custom components for headers, cells, empty state, loading state, and search input. This allows you to create a refined user experience tailored to your application's design.

Overview

In this example, you will learn how to:

  • Create custom header and cell components
  • Implement custom empty and loading states
  • Customize the search input component
  • Configure styling using the styleConfig prop

Example

Team Members

Manage your team members and their account permissions here.

Name
Department
Role
Status
Email
Adrian Brown
Engineering
DevOps Manager
Active
adrian.b@company.com
Alexander Davis
Finance
Financial Controller
Active
alex.d@company.com
Amelia Moore
Sales
Business Developer
Active
amelia.m@company.com
Andrew Wilson
Finance
Finance Director
Active
andrew.w@company.com
Aria Davis
Marketing
Product Marketing
Active
aria.d@company.com
Aurora White
Marketing
Marketing Analyst
Active
aurora.w@company.com
Ava Martinez
Sales
Sales Representative
Active
ava.m@company.com
Benjamin Taylor
Engineering
Mobile Developer
Active
ben.t@company.com
Charlotte Wilson
Marketing
SEO Specialist
Active
charlotte.w@company.com
Christopher Moore
Sales
Sales Manager
Active
chris.m@company.com
Daniel White
Engineering
QA Engineer
Active
daniel.w@company.com
David Lee
Engineering
Backend Developer
Active
david.l@company.com
Elena Anderson
HR
Benefits Coordinator
Active
elena.a@company.com
Elijah Thompson
Sales
Enterprise Sales
Active
elijah.t@company.com
Emily Davis
Engineering
Frontend Developer
Active
emily.d@company.com
Emma Rodriguez
Marketing
Digital Marketing
Active
emma.r@company.com
Ethan Anderson
Engineering
Lead Developer
Active
ethan.a@company.com
Felix Wilson
Sales
Channel Partner Manager
Active
felix.w@company.com
Gabriel Martinez
Finance
Tax Specialist
Active
gabriel.m@company.com
Hazel Garcia
Engineering
Full Stack Developer
Active
hazel.g@company.com
Henry Garcia
Finance
Risk Analyst
Active
henry.g@company.com
Isabella Thompson
Marketing
Brand Manager
Active
isabella.t@company.com
Jack Thompson
Sales
Key Account Manager
Active
jack.t@company.com
James Taylor
Sales
Account Executive
Active
james.t@company.com
Jane Smith
Marketing
Marketing Manager
Inactive
jane.smith@company.com
Jennifer Martinez
Engineering
DevOps Engineer
Active
jennifer.m@company.com
John Doe
Engineering
Software Engineer
Active
john.doe@company.com
Leo Wilson
Sales
Sales Operations
Active
leo.w@company.com
Lily Moore
HR
HR Business Partner
Active
lily.m@company.com
Lisa Anderson
Marketing
Content Strategist
Active
lisa.a@company.com
Lucas Brown
Engineering
Security Engineer
Active
lucas.b@company.com
Luna Rodriguez
Engineering
UX Designer
Active
luna.r@company.com
Matthew Brown
Engineering
System Architect
Active
matthew.b@company.com
Max Lee
Finance
Investment Analyst
Active
max.l@company.com
Maya Rodriguez
Engineering
ML Engineer
Active
maya.r@company.com
Mia Johnson
HR
Recruitment Manager
Active
mia.j@company.com
Michael Wilson
Finance
Financial Analyst
pending
michael.w@company.com
Noah Clark
Engineering
Technical Lead
Active
noah.c@company.com
Olivia Garcia
Engineering
UI Designer
Active
olivia.g@company.com
Owen Martinez
Finance
Budget Analyst
Active
owen.m@company.com
Robert Johnson
Sales
Sales Director
pending
robert.j@company.com
Ruby Anderson
HR
Talent Acquisition
Active
ruby.a@company.com
Sarah Brown
HR
HR Manager
Inactive
sarah.b@company.com
Scarlett White
Marketing
Social Media Manager
Active
scarlett.w@company.com
Sebastian Clark
Engineering
Data Engineer
Active
sebastian.c@company.com
Sophia Lee
HR
HR Specialist
Active
sophia.l@company.com
Stella Davis
Marketing
Events Manager
Active
stella.d@company.com
Victoria Lee
HR
Training Coordinator
Active
victoria.l@company.com
William Clark
Finance
Senior Accountant
Active
william.c@company.com
Zoe Garcia
Engineering
Cloud Engineer
Active
zoe.g@company.com

Key Concepts

  • Custom Components: Replace default header, cell, empty, loading, and search input with custom versions.
  • Styling Configuration: Utilize styleConfig to adjust the appearance of different table elements.

Customization Tips

  • Experiment with different icons and styles to match your brand.
  • Ensure custom components are accessible and responsive.

Best Practices

  1. Component Consistency: Keep a consistent design language across custom components.
  2. Performance: Use state hooks and memoization wisely to optimize performance.
  3. Accessibility: Maintain keyboard navigation and ARIA attributes in all custom components.

Next Steps

Last updated on

On this page