Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
How to check the checkbox if the return value is true in the Grid
posted

Hi All,

I have a grid and I want to be able to auto checked the checkbox if the return value in the column is True.

This is what I did,

{ key:"HasAccess", headerText: "&nbsp;Access", dataType: "bool", width: "10%", height: "12px", template: "<input class=\"gridcheckboxinput\" type=\"checkbox\" {{if ${HasAccess} === \"True\"}}checked{{else}}off{{/if}}\"/ >"},

 

The "HasAccess" of the first two rows is "True", but when the value render on the UI, the first two checkbox did not checked at all.

 

Please help>

Parents Reply Children
No Data