HOW TO: mark records with images from servoy medialib
Posted: Wed Sep 14, 2005 6:27 pm
create an unstored calc called "myUnstoredCalc"
with following code(works on crm demo)
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)
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)