Column with picture in document list form

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

How to add a column with picture to list table in document list form?

 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Hello Peter,

it is quite simple to implement.

You need to add a column and specify the type "Image field" for it. It is also necessary to specify "Values picture" (scr. 1)

Attribute "Values picture" is a set of icons that can be accessed by their index. For example 0, or 1, etc.(scr. 2)

Then, in the "DinamicList" settings, you need to change the query so that it returns the necessary index for the new column (scr. 3)

That's it. If everything is done correctly, then you will have this result (scr. 4)

Download 1.png (64.16 KB)
Download 2.png (32.97 KB)
Download 3.png (57.93 KB)
Download 4.png (23.28 KB)
 
#3
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

Thanks, Alex.

 
#4
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

Is it possible to save a few standard icons provided by platform into files and then combine them into one file with few icons?

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.