SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

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

Open NemoDima opened this issue 4 years ago • 4 comments

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

NemoDima avatar Jun 03 '21 16:06 NemoDima

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.

6pac avatar Jun 03 '21 23:06 6pac

@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

NemoDima avatar Jun 07 '21 12:06 NemoDima

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.

6pac avatar Jun 07 '21 12:06 6pac

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

NemoDima avatar Jun 07 '21 12:06 NemoDima

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

ghiscoding avatar Jan 22 '24 15:01 ghiscoding