ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Sivakumar on March 13, 2021, 06:59:56 pm

Title: Force only one checkbox to be selected
Post by: Sivakumar on March 13, 2021, 06:59:56 pm
Hi,

https://paramquery.com/pro/demos/checkbox_id (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.



Title: Re: Force only one checkbox to be selected
Post by: paramvir on March 15, 2021, 11:35:21 am
Please use column.cb.maxCheck property

Code: [Select]
  maxCheck: 1