on 10-25-2012 9:24 PM
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
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 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.