Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl: Display depending by value in other column
Re: ArrayCtrl: Display depending by value in other column [message #34821 is a reply to message #34635] |
Tue, 13 December 2011 18:52 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
forlano wrote on Fri, 02 December 2011 11:50 | Hello,
with SetDisplay() I can tune the cells of a coloumn.
But now I need to set the color depending by the value got in another column (same row).
How can I get this value when dealing with Display? For example:
arrPlayerRes.AddColumn("Pnt1", t_("Score"), 5).SetDisplay(Single<ColoredStatus>());
arrPlayerRes.AddColumn("RATED", t_("RATED"), 4);
The color in column "Pnt1" should be determined by the value of column "RATED".
Thanks,
Luigi
|
arrPlayerRes.AddColumn("Pnt1", t_("Score"), 5).AddIndex("RATED).SetDisplay(Single<ColoredStatus>());
arrPlayerRes.AddColumnAt("RATED", t_("RATED"), 4);
Now ColoredStatus will be getting ArrayMap instead of single Value.
|
|
|
|
|
ArrayCtrl: Display depending by value in other column
By: forlano on Fri, 02 December 2011 17:50
|
|
|
Re: ArrayCtrl: Display depending by value in other column
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: forlano on Fri, 02 December 2011 21:51
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: mirek on Tue, 13 December 2011 18:52
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: Novo on Wed, 14 December 2011 04:53
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: mirek on Wed, 14 December 2011 07:23
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: forlano on Wed, 14 December 2011 11:15
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: mirek on Wed, 14 December 2011 11:32
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: Didier on Wed, 14 December 2011 22:45
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: Novo on Thu, 15 December 2011 04:44
|
|
|
Re: ArrayCtrl: Display depending by value in other column
By: mirek on Thu, 15 December 2011 08:20
|
|
|
Re: ArrayCtrl: Display depending by value in other column
|
Goto Forum:
Current Time: Wed May 15 23:59:12 CEST 2024
Total time taken to generate the page: 0.01433 seconds
|