cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic display of icon

johnson_george2
Explorer
0 Kudos

Hi All,

I have a scenario where i need to show an icon with label(caption of a table column) that triggers an event.

Basically , i have a column as Document no and need to enable sort only to this column.Cannot use the sort event as the specif logic to sort it.

So i added an icon and added the sort logic . Evrything is working fine...but the user want the icon to be dynamic

as of now in the property of the labels,i have added the icon ... i need to make the icon dynamic...

that is ascending and descending icon according to the order....is it possible??

Regards,

Johnson

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is very much possible.

Create an attribute of type say char80 in your context.

Then bind this attribute to imageSource Property of your caption.

Now write the code to bind the value to this attribute. ( you can bind whatever icon you want to show ).

Answers (0)