on 03-11-2011 4:22 AM
Hi All,
I want to display traffic light in table column, i created one attribute of type string. and in table i create image to display signal.
where should i get this trafficlight symbol? how can i get? please help..
Thanks,
venkat.
Please specify the following values in the source property of the image UI element.
Red - ICON_RED_LIGHT
Yellow - ICON_YELLOW_LIGHT
Green - ICON_GREEN_LIGHT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Once you decide that , your first column is a image (By create binding option) , the corresponding context attribute will hold the image source.
So while populating the context with elements , set the attribute with whatever image source's you need as your requirement.
this should bring differnt images in different rows(in your case , images are traffic lights)
Thanks,
Aditya.
Venkat,
One option is to change the table first column's property as "Image" in the layout. Bind the value to your attribute. Then go to WDDOMODIFYVIEW and loop through your internal table.. Pass the traffic lights as values (example) t_firstcolumn = 'ICON_YELLOW_LIGHT' and bind it to the context
ASujo
Venkat,
You can pass the icon values to the attribute in WDDOMODIFYVIEW and bind it to the context element. Is this what you are looking for ?
ASujo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.