HOW TO: mark records with images from servoy medialib

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

HOW TO: mark records with images from servoy medialib

Postby maarten » Wed Sep 14, 2005 6:27 pm

create an unstored calc called "myUnstoredCalc"
with following code(works on crm demo)
Code: Select all
if(companiesid == 3015 || companiesid == 3020)
{
return "media:///myPicture.gif"
}


place a data provider in your listview with following properties
displayType = IMAGE_MEDIA
dataprovider = myUnstoredCalc


This is a more convenient way of marking records.
(instead of returning html code into a textfield)
Attachments
listView.JPG
listView.JPG (14.71 KiB) Viewed 1718 times
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Return to How To

Who is online

Users browsing this forum: No registered users and 7 guests