react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Feature: Column Groups

Open amanmahajan7 opened this issue 3 years ago • 5 comments

amanmahajan7 avatar May 11 '21 19:05 amanmahajan7

I think in general the API looks good. I just think it would be nice to have more options on the "parent" header cells as well. For example the class option.

Should I go ahead with the implementation to also render the header rows again?

ekeuus avatar May 12 '21 15:05 ekeuus

Since there might be varying tree depths in various column groups, a flatter structure would help. What I think should maybe be the return value for the rendered header column definitions, should be like an array of arrays of cells to make iterating through them easier when rendering.

ekeuus avatar May 12 '21 15:05 ekeuus

@amanmahajan7 @ekeuus Hello. Any updates about this feature?

alexey-koran avatar Oct 04 '21 09:10 alexey-koran

@alexey-koren I opened a PR here - https://github.com/adazzle/react-data-grid/pull/2684. Check out the video and checkout the code and test if it is suitable for your use-case.

ekeuus avatar Oct 06 '21 13:10 ekeuus

@alexey-koren I opened a PR here - #2684. Check out the video and checkout the code and test if it is suitable for your use-case.

Thank you. Will check it.

alexey-koran avatar Oct 18 '21 09:10 alexey-koran