Author Topic: Add custom HTML dropdown in PQ Grid  (Read 547 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
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