Jump to content


Photo

NextGrid6 AlternatingRowColor


  • Please log in to reply
2 replies to this topic

#1 stefanw

stefanw
  • Members
  • 32 posts

Posted 07 December 2018 - 04:27 PM

Hello,

 

how may I setup the NextGrid6 to show only the active rows with alternate row colors?

All other empty rows should appear with normal background e.g. clWhite.

 

In NextGrid 5 we use onCellColoring and GridLineStyle=LsActiveRows.

 

Thanks.

Stefan

 

Attached File  nextgrid.PNG   11.25KB   3 downloads



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 07 December 2018 - 08:23 PM

Hi,

I will see to add some property that can be used to control this. Some people prefer one look, some people other so property can be nice.

You can still use OnGetColor event of View if you want.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 08 December 2018 - 01:27 PM

Hi,

In new release there is a new property AlternatingRowColorOptions where you can find boolean property used to control inactive rows.

I'm thinking about moving all alternating options to this property, to have all on one place.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users