[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Feature request coloring for ARRAYGRIDListBinding  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

I use the ARRAYGRIDListBinding for dynamic table sizing.
The grid support like this:
m_gridOxidmatrix.setTitles(new String[0]);
m_gridOxidmatrix.setWidths(new String[0]);
m_gridOxidmatrix.setAligns(new String[0]);
m_gridOxidmatrix.setFormats(new String[0]);
m_gridOxidmatrix.setFormatmasks(new String[0]);


What I would like to do is to set the "coloring" as well.
Is it possible to get a funktion like this:
m_gridOxidmatrix.setForground(new String[0]);
m_gridOxidmatrix.setBackgrounds(new String[0]);

Kind regards
Roland
CaptainCasa

Power User
[Avatar]

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

HI ROland,

ähhm, there is a mehot setBackgrounds(...) and setForegrounds(...) with ARRAYGRIDItem. Maybe you may try one of them? ;-)

Regards, Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Sorry, it was describe confused.

For the table it works already fine - but I need this for the "title-line". Here it seems to be unsupported.

kind regards
Roland
CaptainCasa

Power User
[Avatar]

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

...got it! Yes, we can add this short term...

Regards! Björn

Björn Müller, CaptainCasa GmbH
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Can you add also, somethind like grid.setGridHeader() ? So we can add some grid header, used for filtering purposes.
CaptainCasa

Power User
[Avatar]

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

Hi,

the header is something beyond the scope of the ARRAYGRID component. For doing this it is better to use the FIXGRID and dynamically create this with ROWDYNAMICCONTENT.

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team