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

[Help] How to merge similar row cells ? #1132

Open
rijulsudhir opened this issue Dec 20, 2024 · 1 comment
Open

[Help] How to merge similar row cells ? #1132

rijulsudhir opened this issue Dec 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@rijulsudhir
Copy link

For example:
currently it is implemented as below
Screenshot from 2024-12-18 22-36-39
Need to make the date rows merged as below
Screenshot from 2024-12-18 22-34-53
merge rows with similar values ?
or
Is there any way to add first two rows in a single PlutoRow ?

current code

stateManager?.prependRows([
                  PlutoRow(
                    cells: {
                      'date_field':
                          PlutoCell(value: '18/12/2024 10:12 AM'),
                      'types_field':
                          PlutoCell(value: 'Type1'),
                      'qty_field':
                          PlutoCell(value: '5'),
                    },
                  ),
                 PlutoRow(
                    cells: {
                      'date_field':
                          PlutoCell(value: '18/12/2024 10:12 AM'),
                      'types_field':
                          PlutoCell(value: 'Type2'),
                      'qty_field':
                          PlutoCell(value: '6'),
                    },
                  ),
                 PlutoRow(
                    cells: {
                      'date_field':
                          PlutoCell(value: '18/12/2024 12:12 AM'),
                      'types_field':
                          PlutoCell(value: 'Type1'),
                      'qty_field':
                          PlutoCell(value: '7'),
                    },
                  ),
                 PlutoRow(
                    cells: {
                      'date_field':
                          PlutoCell(value: '18/12/2024 12:12 AM'),
                      'types_field':
                          PlutoCell(value: 'Type2'),
                      'qty_field':
                          PlutoCell(value: '8'),
                    },
                  )

                ]);

Thank you

@rijulsudhir rijulsudhir added the question Further information is requested label Dec 20, 2024
@rijulsudhir
Copy link
Author

Please help, need it urgently.

@rijulsudhir rijulsudhir changed the title [Help] [Help] How to merge similar row cells ? Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant