Page 1 of 1

Datagrid Forms with clickable image?

Posted: Tue Jul 10, 2012 9:12 pm
by BaaBUSKrNB
Hi all,

Quite new to this powerful IDE, and having "fun" figuring it out...

Now,


I am doing a list of places app and have figured after watching hours of tutorials that Data Grid is the way to go. I have gotten the Data Grid populated and all is good.

But I want it to do two things:
1. When I press a row in the DG I want to come to a card with information about the place. No problem I can do this,
BUT...
2. In the datagrid list there is a Map-icon, when this is pressed one should get to google maps or similar with directions from present location the the location of the place. I got both coords, but how do I get the image of the DataGrid to perform differently than the rest of the row?

Thanks for any help, and hope it is doable :)

/Kristian

Re: Datagrid Forms with clickable image?

Posted: Tue Jul 10, 2012 9:20 pm
by Klaus
Hi Kristian,

1.wecome to the forum :)

2. Add a (mouseup) script (or behavior) to that image object in the "templategroup" of your datagrid!
That will "override" the datagrid behavior, when the user clicks the image in the datagrid.


Best

Klaus