I try to set a field value to a value which is type of array, but the grid can't display the row. my test codes shows below:
Ext.onReady(function()
{
new Ext.grid.property.Grid(
{
customRenderers:{Test:function(v)
{
return Ext.Array.sum(v);
}},
source:{Test:[1,2,3]},
renderTo:Ext.getBody()
});
});
But if the field value is other type, the row is shown.
Ext.onReady(function()
{
new Ext.grid.property.Grid(
{
customRenderers:{Test:function(v)
{
return Ext.Array.sum(v);
}},
source:{Test:6},
renderTo:Ext.getBody()
});
});
Can prroperty grid custom render an array value?
Thank you for any help in advance!