[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Reset List view small icon to nothing

Hello,
I;ve got a list view showing data. It can be that there is no data in the table, then im showing an icon with when this is the case, but when there is data in the tables, i dont want to show the icon and want to get rid of the 'smallicon' cause it leaves a empty gap.

How can i reset the smallicon to no imagelist ??

Ive tried set listview.smallicon = nothing, but still leaves the gap

any ideaS?

thanks
0
arcross
Asked:
arcross
  • 4
  • 2
1 Solution
 
ShauliCommented:
The small icon works together with the view option. It will always leave a gap for the icon, even if you don't have any icon added to a specific row. The only time it will close this gap, is when you don't have an imagelist associated with the listview at all.

S
0
 
arcrossAuthor Commented:
Hi shauli it that what i meant, is it possible associate and disassociate the image list from the listview?
0
 
ShauliCommented:
No. As it is associated with the view as well. If you disassociate, then all icons will be removed.

S
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ShauliCommented:
My suggestion to you is to have to different icons, very dissimilar, for your two options.

S
0
 
arcrossAuthor Commented:
Thanks Shauli, Ill leave with the gap, as i dont need an icon for the second.

Thanks very much 4 your help!

Álvaro
0
 
ShauliCommented:
You are welcome :)

S
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now