Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTable grouping rows with similar names, more than one field at a time #1039

Closed
rjcefalo opened this issue Oct 9, 2019 · 6 comments
Closed
Labels
Type: New Feature Issue contains a new feature or new component request

Comments

@rjcefalo
Copy link

rjcefalo commented Oct 9, 2019

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior
In the DataTable component when grouping rows with the same name allows so group just one field

Expected behavior
Been able to sort more than one field

Minimal reproduction of the problem with instructions
Please check image to illustrate current and expected behavior

Current
Field 1

Field 2

Expected
Field 1+2

  • React version:
    16.9.0

  • PrimeReact version:
    3.1.8

  • Browser:
    All

  • Language:
    ES6/7

@mertsincan
Copy link
Member

Hi,
Thanks a lot for the screenshots, could you please attach a codesandbox link for us to replicate? You can use the following link;
https://codesandbox.io/s/qjx332qq4

@mertsincan mertsincan added the Resolution: Cannot Replicate Issue could not be replicated by Core Team label Oct 14, 2019
@rjcefalo
Copy link
Author

rjcefalo commented Oct 14, 2019

Here is an example of the current behaviour:
https://codesandbox.io/embed/primereact-test-53eqz

At lines 39 and 53 in the index.js file it specifies a single field that can be merged by columns.

On the first table you can see that the Field 1 column the value 1 is merged but in the Field 2 column the values are not combined.

The desired behaviour would be been able to merge more than one field at the time in the same table so it shows the similar values on the remaining columns are also combined within their respective columns.

@RaquelAlgoNew
Copy link

Is it fixed yet? I need something similar

@tom-son
Copy link

tom-son commented Apr 23, 2020

Would also be interested.

@mertsincan mertsincan added Type: New Feature Issue contains a new feature or new component request and removed Resolution: Cannot Replicate Issue could not be replicated by Core Team labels Feb 9, 2021
@mertsincan mertsincan added this to the 7.0.0 milestone Feb 9, 2021
@mertsincan mertsincan modified the milestones: 8.2.0, Future Jul 6, 2022
@Vitalii-Pidoprygora
Copy link

Lack of this feature is kind off showstopper for my project. Would be glad to see it in upcoming release.

@melloware
Copy link
Member

Duplicate of #619

@melloware melloware marked this as a duplicate of #619 Nov 14, 2022
@melloware melloware removed this from the Future milestone Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

6 participants