ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: SDS on June 01, 2024, 11:44:28 am

Title: add a button to cell
Post by: SDS on June 01, 2024, 11:44:28 am
I am trying to add a button to the first cell of each row in the grid. I referred to the other forum topics and tried to imitate the solution but doesn't work for me. the grid works fine untill I add render in the colmodel. please find attached the colmodel and error screen shot, please suggest if anything wrong with the render definition.
Title: Re: add a button to cell
Post by: paramvir on June 03, 2024, 11:10:27 pm
That's incorrect.

column.render needs to be a function itself or name of a function as string.

Please check the documentation with examples for column.render

https://paramquery.com/pro/api#option-column-render
Title: Re: add a button to cell
Post by: SDS on June 09, 2024, 12:44:01 pm
Solved, thanks. But I have another urgent query which I have raised in another post, regarding blank first column. please look into the same, thanks.