ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vijay@spinetechnologies on January 18, 2022, 01:27:28 pm

Title: Add custom HTML dropdown in PQ Grid
Post by: vijay@spinetechnologies on January 18, 2022, 01:27:28 pm
How to add our own custom HTML dropdown in PQGrid cell ?
We have added dropdown using render method. but we are not able to attach any event to it. also when we select row then dropdown value gets reset.
Title: Re: Add custom HTML dropdown in PQ Grid
Post by: paramvir on January 18, 2022, 06:03:03 pm
it can be done with help of column.postRender callback: https://paramquery.com/pro/api#option-column-postRender

Example of usage of postRender in last column of this demo: https://paramquery.com/pro/demos/editing