Author Topic: Force only one checkbox to be selected  (Read 1203 times)

Sivakumar

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 32
    • View Profile
Force only one checkbox to be selected
« on: March 13, 2021, 06:59:56 pm »
Hi,

https://paramquery.com/pro/demos/checkbox_id

In this particular demo, how can we ensure that only one checkbox is selected at a given point of time?

What I want to achieve is that whenever I am selecting a particular row using the checkbox, checkbox from other row must get unchecked.

Let me know if more information is required.

Thank you.




paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Force only one checkbox to be selected
« Reply #1 on: March 15, 2021, 11:35:21 am »
Please use column.cb.maxCheck property

Code: [Select]
  maxCheck: 1