3.0.5

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
July 16,
Hi!

Did you find the solution yet? I need to know like you too but no one reply us.


Best,
Finan
Finan
July 18,
hi,

no solution yet. sorry.

perhaps we've to contact support via mail.

bye,
sebastian
Sebastian
July 20,
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
July 20,

This topic is archived.

See also:


Back to support forum