How do you show different icons in a data grid based on a value from the data master?

Doug shared this question 6 years ago
Answered

I have a data grid that I want to display 1 of 2 different images based on a value in the data master. That is for rows with the value 'Time' I want to show one icon and for rows with a value of 'Expense' I want to show a different icon. I have tried a bunch of different ways using a dynamic panel and conditional statements but have not been able to do this. Is there a way?

Comments (3)

photo
1

Sure, create an 'onpageload' event on that icon (or in the cell) so that it changes the icon depending on a function 'select' applied over the 'row'

photo
1

I'm going to need a little more explanation on how to do this.


1. Am I doing a show/hide event or some other event


2. Is the 'select' function added as a condition or added somewhere else

photo
1

Victor, did you get a chance to elaborate on Doug's question? I submitted the same question, but don't understand your answer