jQuery UI Widgets › Forums › Grid › Render Checkbox in Cell with non-default value
Tagged: beforeLoadComplete, checkbox, jqxgrid
This topic contains 2 replies, has 2 voices, and was last updated by PTBD 8 years, 5 months ago.
is there a easy way to render a checkbox in a grid-cell if the value is non standard 0 or 1. For example “dog” = checked and “spaceship” = not checked.
I understand that I have to use cellrenderer but I have diffeculty ro return a jqxCheckBox Object or creating a long div-string. Is there an easy way I am missing?
You can use beforeLoadComplete to check the values and set them to true/false.
Here is the jsEditor example.
Thank you ivailo. This will work nicely.
You must be logged in to reply to this topic.