Web Connection
Images on grids
Gravatar is a globally recognized avatar based on your email address. Images on grids
  Luca
  All
  Mar 30, 2020 @ 01:07am

Dear Rick,
I use WC 6.05, please is it possible to have images on grids by using the third parameter (attributes)?
I tried but without success.
Thank you very much for support

Gravatar is a globally recognized avatar based on your email address. re: Images on grids
  Rick Strahl
  Luca
  Mar 31, 2020 @ 09:05pm

You can create custom element HTML or just generate the HTML for the image as a string into the field expression.

Something like this:

loCol.Expression = ["<img src='images/" + items.sku + ".png' />"]

You can also do this inline but it's a bit harder to get the string delimiters right in an HTML attribute.

+++ Rick ---

© 1996-2024