background-image - Forum

Forum Navigation
You need to log in to create posts and topics.

background-image

When I define inside the property of a container using url("./img/image.jpg") I see the image. If this container is used for a neotable, I do not see the image behind the table.

If I define the backgound in a css class background-image:url("./img/image.jpg"); I have a compilation error path file ?

When I define inside the property of a container using url("./img/image.jpg") I see the image. If this container is used for a neotable, I do not see the image behind the table.

@phil78 When you render neoTable, any previous content within the Container is replaced. Just place one Container with a background image and another one inside the first one to render the neoTable.

If I define the backgound in a css class background-image:url("./img/image.jpg"); I have a compilation error path file ?

VisualNEO Web tries to compile the file looking for the image as an absoulte path, just as it does with images. This should work:

background-image:url("c:\myfolder\myimage.jpg");

or this:

background-image:url('https://visualneo.com/wp-content/uploads/2021/09/image-10257-120x120.png');

I don't like this specially but it was as Dave designed this specific behaviour.
Let me know if it works.

Regards.

Hi @luishp, thanks  background-image:url("c:\myfolder\myimage.jpg"); works !

For neotable the idea was to fill the empty part when the number of line are less than the height (if I use background-color it is ok). If I put the table inside a container which have a background image, it will be cover with container-table. But it is not very important.

One other question please, if I use a column combo neoTableEditColumnAsSelect "cUtilisateur" "6" "inline" "" "" "Admin|0\nEcrire|1\nLire|2" "" true "" , I see text|value in the list, and the cell is empty after loading.

Regards

One other question please, if I use a column combo neoTableEditColumnAsSelect "cUtilisateur" "6" "inline" "" "" "Admin|0\nEcrire|1\nLire|2" "" true "" , I see text|value in the list, and the cell is empty after loading.

@phil78 I think you can't use "text|value", just one value on each line.