Thank you for reporting this bug. We will make it our priority to review this report.
GridView's DisableSelection
GridView's DisableSelection
On the following example, GridView's DisableSelection is set to true, but selection is not disabled.
Selection is just disabled when GridPanel's DisableSelection is set to true.
Thanks in advance.
Code:
Ext.onReady(function () {
Ext.create("Ext.grid.Panel", {
store: {
model: Ext.define(Ext.id(), {
extend: "Ext.data.Model",
fields: [{
name: "ID",
type: "string"
}, {
name: "Name",
type: "string"
}],
idProperty: "ID"
}),
proxy: {
type: 'memory'
},
data: [
[1, 'Name - 1'],
[2, 'Name - 2']
]
},
renderTo: "_pnl",
width: 400,
title: "Ext.Js",
columns: {
items: [{
width: 100,
dataIndex: "ID",
text: "ID"
}, {
width: 300,
dataIndex: "Name",
text: "Name"
}]
},
viewConfig: {
xtype: "gridview",
disableSelection: true
}
});
});
GridView's DisableSelection
Aucun commentaire:
Enregistrer un commentaire