:: Forum >>
Highlight maximum value of column
Hi froum,
is there any possibility to highlight the maxium value (number) of each column in datagrid?
Thanks in advance.
Bye,
Sebastian
Sebastian
Sunday, July 16, 2006
Hi!
Did you find the solution yet? I need to know like you too but no one reply us.
Best,
Finan
Finan
Tuesday, July 18, 2006
hi,
no solution yet. sorry.
perhaps we've to contact support via mail.
bye,
sebastian
Sebastian
Thursday, July 20, 2006
Not exactly what you need but should give you some ideas
//---------------------------------------------------------------
// Set stock colour to red if zero
//---------------------------------------------------------------
function myColorStock(){
var i = this.getItemProperty("value");
if (isNaN(i)){
sColor = (i.toUpperCase().search("Y") >= 0 ? "black" : "red");
}else{
sColor = i > 0 ? "black" : "red";
}
return sColor;
}
and
obj.getColumnTemplate(quantityCol).setStyle("color", myColorStock);
Steve L
Thursday, July 20, 2006
This topic is archived.
Back to support forum
Forum search