ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Add custom HTML dropdown in PQ Grid
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add custom HTML dropdown in PQ Grid (Read 546 times)
vijay@spinetechnologies
Pro Enterprise
Jr. Member
Posts: 87
Add custom HTML dropdown in PQ Grid
«
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.
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Add custom HTML dropdown in PQ Grid
«
Reply #1 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
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Add custom HTML dropdown in PQ Grid