フィールド値を配列のタイプの値に設定しようとしましたが、グリッドに行を表示できません。私のテストコードは以下のとおりです。
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()
});
});
ただし、フィールド値が他のタイプの場合は、行が表示されます。
Ext.onReady(function()
{
new Ext.grid.property.Grid(
{
customRenderers:{Test:function(v)
{
return Ext.Array.sum(v);
}},
source:{Test:6},
renderTo:Ext.getBody()
});
});
プロパティグリッドは配列値をカスタムレンダリングできますか?
よろしくお願いします!