frappe / frappe/datatable

[Feature request] Nested headers

Open
#48 2 comments 9 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thank you for your amazing project, this library looks very promising.

It would be so nice if we could create nested headers, i.e. several levels of headers with headers on top of children headers. See this example in [Handsontable](https://docs.handsontable.com/pro/6.0.1/demo-nested-headers.html).

We could define these nested columns like this, for instance:

```js
columns: [
{
name: 'Framework infos',
nestedColumns: [
{ name: 'Framework name' },
{ name: 'GitHub Stars' },
{ name: 'Forks' }
]
},
{
name: 'Actions',
nestedColumns: [
{ name: 'Project Link', format: value => `${value}` },
{ name: 'Fork', format: value => `${value}` }
]
}
]
```

Are contributions welcome? I may submit a PR if you think this is an interesting feature.

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.