Feb 04, 2011, 8:05 AM
[CLOSED] Renderer does not work on DateColumn in GridPanel
Hi
I have a DateColumn in a gridpanel that I want to change background color in for some rows, but the renderer does not work at all. It seems that the DateColumn does not trigger the renderer. ?
Mikael
I have a DateColumn in a gridpanel that I want to change background color in for some rows, but the renderer does not work at all. It seems that the DateColumn does not trigger the renderer. ?
var FargkodRenderer = function(value, metadata, record) {
if(something)
metadata.style += 'background-color: #009900';
return value;
};
<ext:DateColumnColumnID="Regdatum"Header="Regdatum"Width="100"DataIndex="REGDATUM"><RendererFn="FargkodRenderer"/></ext:DateColumn>
ThanksMikael
Last edited by Daniil; Feb 04, 2011 at 11:11 AM.
Reason: Removed <font> tags, [CLOSED]