ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: Sivakumar on January 13, 2021, 07:27:28 pm

Title: Add Column to Grid without having any colModel
Post by: Sivakumar on January 13, 2021, 07:27:28 pm
Hi,

How can I add the column with delete button at the end of the grid to delete a particular row from the grid?

I tried to follow the Columns API, but was not able to understand how it can be implemented.

Below is the jsfiddle link:
https://jsfiddle.net/ucknge23/1/

Appreciate your help.

--
Uttam
Title: Re: Add Column to Grid without having any colModel
Post by: paramvir on January 21, 2021, 09:48:56 am
It's the same method to add new columns.

grid.Columns().add()

https://paramquery.com/pro/api#method-Columns

Example: https://paramquery.com/pro/demos/context_menu