[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
t:fixgrid: Own background colours on rows?  XML
Forum Index -> Development
Author Message
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Dear community

Actually you have the possibility that you can have different background colours for even and odd rows in <t:fixgrid> ...

1st row: Background red (even)
2nd row: Background white (odd)
3rd row: Background red (even)
4th row: Background white (odd)
.
.

I would like to ask you if there is a way to have it coloured like that ...

1st row: Background red
2nd row: Background red
3rd row: Background red
4th row: Background white
5th row: Background white

Reason: I am looking for a way to group some rows together.
I also know that there is the possibility to put a <t:pane>/<t:row>,<t:row>,<t:row> into a row. But that's not so easy to handle if you have to don’t know yet how many <t:row> you will have inside the pane at the end.

It's not a feature request I am only asking.

Best regards; PATRICK
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5536
Offline

Hi,

you have to do this by explicitly setting the BACKGROUND of the contained componentes of a row - and point it to an expression of the item:

Code:
 FIRXGRID
   GRIDCOL
     FIELD BACKGROUND=".{background}" ...
   GRIDCOL
     FIELD BACKGROUND=".{background}" ...
   GRIDCOL
     FIELD BACKGROUND=".{background}" ...
 


So, "everything" is under your expicit control.

Regards, Björn

Björn Müller, CaptainCasa GmbH
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

... ok, thanks for your fast response.

With best regards from Switzerland
PATRICK
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team