List with image
List with image
Hi Allan,
Is it possible to make a name list to display an image in datatable and store the address of the image in the database ?
Exemple (definitely false)
{
label: "Priority:",
name: "priority",
type: "select",
options: [
{ label: "green", value: "http://compagny.com/color/green.gif" },
{ label: "orange",value: "http://compagny.com/color/orange.gif" },
{ label: "red", value: "http://compagny.com/color/red.gif" },
{ label: "black", value: "http://compagny.com/color/black.gif" },
{ label: "white", value: "http://compagny.com/color/white.gif" }
]
}
Thanks a lot for your help.
This discussion has been closed.
Replies
It sounds a lot like a left join. Does that suit your needs?
Allan
No Allan, I want to know if it is possible to have a datatable with color list in the editor to display an image in the table and save the URL in the data base of this image?
much like file upload without selecting the image in a folder.
Have a Field List with recorded images database that we just choose to display.
The example given was not clever.
Thanks.
Sorry - I'm still not getting it. You've got a
select
with a list of options (which are statically defined?). If you have the value in the data, can you not just use a renderer (or even a different data point) to display in the table?Allan