That’s the simple part. First, let’s add the delete method to our model.
Next, let’s create a new column named tools and configure it. We’ll set its width by defining the width property.
The render method will return the remove button.
Inside onClickRefs we’ll define a function for removing grid records.