list form background

Discussions regarding developing applications using Servoy Mobile (new in Servoy 7)

list form background

Postby jdbruijn » Wed Oct 09, 2013 2:19 pm

is it possible to change the background color of specific records in a list form or a inset list?
Jos de Bruijn
Welcome CCS
Servoy Certified Developer
Image
jdbruijn
 
Posts: 445
Joined: Sun Apr 11, 2010 6:34 pm

Re: list form background

Postby ROCLASI » Wed Oct 09, 2013 10:11 pm

Hi Jos,

You need to use the onRender event for this where you can set the background-color of any element depending on your business logic.

Hope this helps.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: list form background

Postby jdbruijn » Thu Oct 10, 2013 8:28 am

don't think the mobile components have an onrender event.
Jos de Bruijn
Welcome CCS
Servoy Certified Developer
Image
jdbruijn
 
Posts: 445
Joined: Sun Apr 11, 2010 6:34 pm

Re: list form background

Postby ROCLASI » Thu Oct 10, 2013 9:24 am

Hmmm, you are correct sir. I guess I should first check in what forum I am replying ;)

It sure looks like there is no way to do this other than perhaps with HTML inside a label (untested assumption here).
Anyway I suggest you file a feature request for this.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Servoy Mobile

Who is online

Users browsing this forum: No registered users and 1 guest

cron