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
Highlighted
Contributor
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,

Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
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
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner