Commit 5679e9b0 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

ext5migrate: enable striped row, it now works with ExtJS5

parent 3150236a
...@@ -30,7 +30,7 @@ Ext.define('PVE.dc.Log', { ...@@ -30,7 +30,7 @@ Ext.define('PVE.dc.Log', {
viewConfig: { viewConfig: {
trackOver: false, trackOver: false,
stripeRows: false, // does not work with getRowClass() stripeRows: true,
getRowClass: function(record, index) { getRowClass: function(record, index) {
var pri = record.get('pri'); var pri = record.get('pri');
......
...@@ -55,7 +55,7 @@ Ext.define('PVE.dc.Tasks', { ...@@ -55,7 +55,7 @@ Ext.define('PVE.dc.Tasks', {
viewConfig: { viewConfig: {
trackOver: false, trackOver: false,
stripeRows: false, // does not work with getRowClass() stripeRows: true, // does not work with getRowClass()
getRowClass: function(record, index) { getRowClass: function(record, index) {
var status = record.get('status'); var status = record.get('status');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment