make update/disk/network and task grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3190457463
commit
60d337128c
@ -148,7 +148,8 @@ Ext.define('PVE.node.APT', {
|
||||
|
||||
Ext.apply(me, {
|
||||
store: store,
|
||||
stateful: false,
|
||||
stateful: true,
|
||||
stateId: 'grid-update',
|
||||
selModel: sm,
|
||||
viewConfig: {
|
||||
stripeRows: false,
|
||||
|
@ -2,6 +2,8 @@ Ext.define('PVE.node.DiskList', {
|
||||
extend: 'Ext.grid.GridPanel',
|
||||
alias: 'widget.pveNodeDiskList',
|
||||
emptyText: gettext('No Disks found'),
|
||||
stateful: true,
|
||||
stateId: 'grid-node-disks',
|
||||
columns: [
|
||||
{
|
||||
header: gettext('Device'),
|
||||
@ -194,7 +196,6 @@ Ext.define('PVE.node.DiskList', {
|
||||
emptyText: gettext('No Disk found'),
|
||||
store: store,
|
||||
selModel: sm,
|
||||
stateful: false,
|
||||
tbar: [ reloadButton, smartButton, initButton ],
|
||||
listeners: {
|
||||
itemdblclick: function() {
|
||||
|
@ -222,7 +222,8 @@ Ext.define('PVE.node.NetworkView', {
|
||||
items: [
|
||||
{
|
||||
xtype: 'gridpanel',
|
||||
stateful: false,
|
||||
stateful: true,
|
||||
stateId: 'grid-node-network',
|
||||
store: store,
|
||||
region: 'center',
|
||||
border: false,
|
||||
|
@ -2,7 +2,8 @@ Ext.define('PVE.node.Tasks', {
|
||||
extend: 'Ext.grid.GridPanel',
|
||||
|
||||
alias: ['widget.pveNodeTasks'],
|
||||
stateful: false,
|
||||
stateful: true,
|
||||
stateId: 'grid-node-tasks',
|
||||
loadMask: true,
|
||||
sortableColumns: false,
|
||||
vmidFilter: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user