ParamQuery grid support forum

General Category => Help for ParamQuery Select => Topic started by: vivianteoh on December 14, 2016, 08:13:26 am

Title: Single select checkbox
Post by: vivianteoh on December 14, 2016, 08:13:26 am
How to allow only one checkbox to be checked in a checkbox column?

Thanks.
Title: Re: Single select checkbox
Post by: paramvir on December 14, 2016, 04:31:41 pm
In case of single select, use radio instead of checkbox.

Code: [Select]
radio: true
Title: Re: Single select checkbox
Post by: afe77 on February 14, 2025, 07:07:00 pm
Hi paramvir,
can you be more specific, please?


"use radio instead of checkbox => radio: true"
what? where?

Thanks


Title: Re: Single select checkbox
Post by: paramvir on February 14, 2025, 10:08:58 pm
radio: true is used in the initialization object while initializing paramquery select control.

It's demonstrated in 1st example on this page: https://paramquery.com/select

API reference: https://paramquery.com/api/select#option-radio