Flexgrid with a column of boolean datatype is returning "on" instead of true

Posted by: abhijeet.dey on 15 September 2025, 8:07 am EST

    • Post Options:
    • Link

    Posted 15 September 2025, 8:07 am EST - Updated 15 September 2025, 8:12 am EST

    Hi Team,

    As you can see in the above image, when I check a checkbox in a column of boolean dataType, I am getting “on” in the grid.activeEditor.value, instead of true. How can I change this value to true and false? Is there any documentation about this?

    We are using ~5.20241.19

  • Posted 16 September 2025, 12:31 am EST

    Hi Abhijeet,

    For boolean columns on FlexGrid, the input type checkbox is used as the default editor. To get the true/false values in this case, you’ll need to check the ‘checked’ property of the checkbox instead of the ‘value’ property. The value property of the HTML checkboxes element has a default value set to ‘on’, which appears in the screenshot you shared. There is no specific documentation about this on our website, as this is the default behavior for the HTML checkbox element. However, you can refer to the following link for more information about it - https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/checkbox#value_2

    In case, you face any issues, please let us know.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels