We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a826f commit 2a07d3fCopy full SHA for 2a07d3f
ipydatagrid/datagrid.py
@@ -525,7 +525,16 @@ def selected_cell_values(self):
525
"""
526
List of values for all selected cells.
527
528
- return SelectionHelper(grid=self).all_values()
+ # Copy of the front-end data model
529
+ view_data = self.get_visible_data()
530
+
531
+ # New DataGrid instance with data from
532
+ # the front-end data model
533
+ selections_grid = DataGrid(view_data)
534
535
+ # Copying over selections from main grid
536
+ selections_grid.selections = self.selections
537
+ return SelectionHelper(grid=selections_grid).all_values()
538
539
@property
540
def selected_cell_iterator(self):
0 commit comments