Author Topic: Single select checkbox  (Read 5532 times)

vivianteoh

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 6
    • View Profile
Single select checkbox
« on: December 14, 2016, 08:13:26 am »
How to allow only one checkbox to be checked in a checkbox column?

Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6368
    • View Profile
Re: Single select checkbox
« Reply #1 on: December 14, 2016, 04:31:41 pm »
In case of single select, use radio instead of checkbox.

Code: [Select]
radio: true

afe77

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Single select checkbox
« Reply #2 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



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6368
    • View Profile
Re: Single select checkbox
« Reply #3 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