Here is fragment of my code to add a custom itemRenderer to ADG
(simplified):
codeDestinationRenderer = new ClassFactory(destinationGrid);
codeDestinationRenderer.properties = {someSetter:"1234"};
trainSymbolColumn.itemRenderer = codeDestinationRenderer;
ClassFactory(trainSymbolColumn.itemRenderer).properties =
{anotherSetter:trainSymbolColumn};
My question is about accessing itemRenderer's methods (setters) via a
property "properties". In a way code is shown first call (someSetter)
will not be made. If I remove a call to second setter then first works
fine. Can someone inlight me please on how these setters work?
Thanks