|
304 |
return; |
304 |
return; |
305 |
} |
305 |
} |
306 |
var ilabel = dojo.isFunction(iaction.label) ? iaction.label() : iaction.label; |
306 |
var ilabel = dojo.isFunction(iaction.label) ? iaction.label() : iaction.label; |
|
|
307 |
var ifield = dojo.isFunction(iaction.field) ? iaction.field() : iaction.field ? iaction.field : this.moduleStore.idProperty; |
307 |
gridColumns.push({ |
308 |
gridColumns.push({ |
308 |
field: this.moduleStore.idProperty, |
309 |
field: ifield, |
309 |
name: this.actionLabel ? ilabel : ' ', |
310 |
name: this.actionLabel ? ilabel : ' ', |
310 |
width: ! this.actionLabel && iaction.iconClass ? '28px': this._getHeaderWidth( ilabel ) + 'px', |
311 |
width: ! this.actionLabel && iaction.iconClass ? '28px': this._getHeaderWidth( ilabel ) + 'px', |
311 |
description: iaction.description, |
312 |
description: iaction.description, |