jupyter-widgets / ipydatagrid

Fast Datagrid widget for the Jupyter Notebook and JupyterLab
BSD 3-Clause "New" or "Revised" License
579 stars 51 forks source link

Implement set_row_value method #438

Closed martinRenou closed 1 year ago

martinRenou commented 1 year ago

Issue number of the reported bug or feature request: #

Fix #352

Describe your changes

An equivalent to the current set_cell_value method, but for setting entire rows.

Testing performed

Manual Notebook tests + adding a unit test in JS

Additional context

For users, it's more convenient/performant to have this kind of APIs than having to call set_cell_value many times. We may want to implement the equivalent for columns at some point.

martinRenou commented 1 year ago

Thanks for the review! Will merge as soon as the patch release is out.