I am fairly new to using RadGrid and my terminology and approach may be off, but...
I would like to add a boolean-type column to a RadGrid that is filterable using a checkbox, but renders in each row with one of two images (true=green check-mark, false=red X)
I have tried adding a GridCheckBoxColumn and it provids the checkbox in the filter as desired, but it renders true and false in the Grid with a checkbox which is checked or not checked.
Similarly, I have tried adding a GridImageColumn and it renders true and false values with the check-mark and X images, but the filter cell provides a text field to filter on, not a checkbox.
Is there an obvious way to do what I am trying to do? Would it be to start with a checkbox column and customize how the cells are rendered, or to start with an image column and customize how the filter cell behaves, or maybe some other approach?
Thanks,
-Eric
I would like to add a boolean-type column to a RadGrid that is filterable using a checkbox, but renders in each row with one of two images (true=green check-mark, false=red X)
I have tried adding a GridCheckBoxColumn and it provids the checkbox in the filter as desired, but it renders true and false in the Grid with a checkbox which is checked or not checked.
Similarly, I have tried adding a GridImageColumn and it renders true and false values with the check-mark and X images, but the filter cell provides a text field to filter on, not a checkbox.
Is there an obvious way to do what I am trying to do? Would it be to start with a checkbox column and customize how the cells are rendered, or to start with an image column and customize how the filter cell behaves, or maybe some other approach?
Thanks,
-Eric