I have code like below
initComponent: function()
{
var me = this;
this.callParent(arguments);
var rowAlerterCond = this.rowAlerter;
if(rowAlerterCond !== undefined && rowAlerterCond !==null && typeof rowAlerterCond ==='object')
{
var returnVar = this.buildCondition(rowAlerterCond);
this.rowHighlightConfig = returnVar;
me.viewConfig.getRowClass = function(record, rowIndex, rowParams, store) {
if(this.rowHighlightConfig)
return eval(this.rowHighlightConfig) ? 'orangeHighlight' : '';
};
}
},
here getRowClass never gets invoked. Should i change anything? If i add getRowClass inside of viewConfig it works, but i need to traverse up the tree to get the rowHighlightConfig variable. Any solution for this?