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

Feature Request: For grouped rows add joint controls to have the ability to set the same values for the cells in interesting columns. #612

Closed
NemoDima opened this issue Jun 3, 2021 · 5 comments

Comments

@NemoDima
Copy link

NemoDima commented Jun 3, 2021

The screenshot shows our old Datagrid shape in Silverlight. So the question is whether there are group controls in the slickgrid that allow changing the values for the cells of this column in subordinate / grouped rows.
For grouped rows add joint controls to have the ability to set the same values for the cells in interesting columns, Is it possible to add this functionality?

Thanks.

изображение

ps question on the StackOverflow: https://stackoverflow.com/questions/67776298/is-it-possible-to-bulk-change-the-value-of-cells-for-grouped-rows-in-slickgrid

@6pac
Copy link
Owner

6pac commented Jun 3, 2021

This would not be too hard to do, given that SlickGrid already supports grouping. However once you get down to specific controls, like dropdowns, there are a hundred different plugins and variants of how everyone does it, so I don't think it's the place of the framework to build this.
There is a child rows collection for each group, so it's just a matter of iterating through that list and saving the values. Look at the documentation for the grouping functions.

@NemoDima
Copy link
Author

NemoDima commented Jun 7, 2021

@6pac thank you for the answer. I understood that we should release it by ourselves.
Could you please suggest a few mentioned plugins or variants? Hope it helps us to avoid any mistakes.
Best wishes, Dmytro

@6pac
Copy link
Owner

6pac commented Jun 7, 2021

Hi @NemoDima, the examples page is really a list of all the possible plugins. That's a good place to start. I'm not aware of anyone who has done exactly wht you want.

@NemoDima
Copy link
Author

NemoDima commented Jun 7, 2021

Thanks, I'll check it - https://github.com/6pac/SlickGrid/wiki/Examples#plugins--controls .
Best wishes.

@ghiscoding
Copy link
Collaborator

Reviewing old issues and I this was more related to a question and not really an issue with the library. I believe that the steps shown in the question are achievable by the developer, you simply have to find which row to update the value and then simply update them with SlickGrid and invalidate the rows.

So let's close the issue, and if you really feel that it's really a problem with the library then please provide more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants