Author Topic: How can I dynamically insert check boxes into columns  (Read 2394 times)

jeremy

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 14
    • View Profile
How can I dynamically insert check boxes into columns
« on: December 19, 2016, 08:40:39 am »
Here's a basic idea of what I'm trying to implement..
http://jsfiddle.net/kdeeqp82/

Is there a better way to insert a checkbox dynamically within a cell? Obviously pqgrid isn't able to track checkbox clicks this way so I assume I'll need to listen to the checkboxes and modify pqgrid's cell state so when I execute getChanges it will register the change.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How can I dynamically insert check boxes into columns
« Reply #1 on: December 19, 2016, 11:01:24 pm »
What's the difficulty in implementing checkbox columns which support tracking checkbox clicks.

http://paramquery.com/pro/demos/checkbox

jeremy

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How can I dynamically insert check boxes into columns
« Reply #2 on: December 19, 2016, 11:25:22 pm »
I want a single column to support both click, text, possibly even select boxes..

jeremy

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How can I dynamically insert check boxes into columns
« Reply #3 on: December 20, 2016, 01:25:41 am »
You can close this, I decided to implement it a different way..