PDA

View Full Version : error:grid sethidden xtype=actioncolumn



guo0
30 Aug 2011, 11:56 PM
{
xtype: 'actioncolumn',
id: 'detailDel',
header: 'Del',
width: 50,
// hidden: true,
items: [{
icon: '../ExtJs/resources/icons/delete.png', // Use a URL in the icon config
tooltip: 'Del',
handler: function (grid, rowIndex, colIndex) {
store.removeAt(rowIndex);
}
}]
}

i get an null object error When i sethidden the xtype column

guo0
4 Sep 2011, 7:11 PM
Anyone can help me?