Problem sorting datagrid with dynamic images

Matt P shared this problem 4 years ago
Solved

I'm trying to sort a data grid that has images selected/hidden in a Page Load event, but the images all disappear after doing a Sort. As an example, I modified the User Ratings example to add a Sort button, added a SetValue action on the datagrid based on a Sort Data Master, and all the rating images disappear. I run into similar problems when I do a data master MOD on datagrids with images that are shown/hidden based on value tests. Is there any way to make this work?

Comments (5)

photo
1

BTW, I tried adding a subsequent Interaction (after the SORT) to mimic the Page Load actions to set the visible images. I can get an image to display again using a simple show action, but when I add a WHEN condition (to select correct image to show), the action never gets executed.


Any suggestion would be greatly appreciated!

photo
1

Could you send that example to jim.support at justinmind.com please?

photo
1

Done. Should be there now. Thanks.

photo
1

While it's great that JIM support allows you to send prototypes to them for assistance, it SUCKS for others who are having the same problem. JIM, please start posting the solutions!

photo
1

Hi Dee,


Anytime you need something just let us know and we will be happy to help you and try to provide you the best solution.


Best,


Sonia Durán