Ajax DataGrid Support Product Page
Answered
How do I replace a database values with images?
Asked 02 May 2012 13:27:03
1
has this question
02 May 2012 13:27:03 Andre Bender posted:
I'd like to replace the values from a database field with images. Like 1 = ok.gif and 0 = nok.gif. How do I accomplish this? Thanks for any help. Replies
Replied 03 May 2012 06:29:40
03 May 2012 06:29:40 Teodor Kuduschiev replied:
Hello Andre,
You can try the following:
- Create 2 images 1.gif and 0.gif
- Using the Before and after fields to set:
- <img src=" in Before field
- .gif"/> in After field
This way you will have <img src="1.gif"/> and <img src="0.gif"/> depending on what is in the field 1/0.
You can try the following:
- Create 2 images 1.gif and 0.gif
- Using the Before and after fields to set:
- <img src=" in Before field
- .gif"/> in After field
This way you will have <img src="1.gif"/> and <img src="0.gif"/> depending on what is in the field 1/0.
Replied 03 May 2012 07:00:17
03 May 2012 07:00:17 Andre Bender replied:
Now that's a smart solution ... works like a charm ...
Thanks.
By the way the Behaviour Connector is VERY cool!

By the way the Behaviour Connector is VERY cool!