Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
raspberry1
Posts: 16
Registered: ‎05-26-2013
My Device: Z10
My Carrier: UAE DU

Changing the grouping default line color in a ListView with DataGroupModel

Hi,

 

I would like to change the grouping line color for a ListView. I have my DataGroupModel (inside ListView) doing grouping based on the first charcter of the contact, so when the page is rendered in the ListView the contacts are grouped properly with a default line separator in Blue, I would like to change this color, how is this possible?

 

Thanks,

Please use plain text.
Developer
ekke
Posts: 1,504
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Changing the grouping default line color in a ListView with DataGroupModel

you need your owmn custom item for headers,

then you can simulate a colored divider by using a Container 2 picels height or so with background color

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.