gregnb / gregnb/mui-datatables

rowspan and colspan, is possible?

Open
#1,302 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

## How can I get the grouping of rows and columns?
![groupColTable](https://user-images.githubusercontent.com/17419095/83424242-c4a7d280-a3f1-11ea-8c21-19d57a8a1ed4.png)

Is it possible to group it this way?
`const columns = ["Name", ["Title", "Location"], ["Age", "Salary"]];`
Col defect table is :
`const columns = ["Name", "Title", "Location", "Age", "Salary"];`

![colsGroup](https://user-images.githubusercontent.com/17419095/83424886-ab535600-a3f2-11ea-938e-584029b0a1f2.png)

I try
https://codesandbox.io/s/group-cols-zm2f1?file=/src/index.js

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.