This video is available to students only

Setting up the bulk editor

Using React Query Builder for a completely different purpose

Now we're going to use a query builder for a different purpose: bulk editing. This is useful when your data grid is updateable and you want to be able to define many changes at once.

Grid configuration#

First we'll add a selection column to the data grid so users can determine exactly which rows they want to update. Make sure to set the rowSelection prop to "multiple" so we can select multiple rows. We'll also need to capture the grid API in a state variable for later use.

Query builder configuration#

 

Start a new discussion. All notification go to the author.