diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js index b8b22005f3da983623f44c8e3399ddbe60e1ccda..39f72586d667be76d4330d9c185fa0968d3317ff 100644 --- a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js +++ b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js @@ -75,6 +75,15 @@ function ArchivingHelperView(archivingHelperController, archivingHelperModel) { exportableProperty: DataGridExportOptions.EXPORTABLE_FIELD.SAMPLE, sortable : false }]; + searchView.additionalLastColumns = [{ + label : "Size", + property : "size", + exportableProperty: DataGridExportOptions.EXPORTABLE_FIELD.SIZE, + sortable : false, + render : function(data, grid) { + return PrintUtil.renderNumberOfBytes(data.size); + } + }]; searchView._paintRulesPanel($rulesPanel); searchView._$entityTypeDropdown.val("DATASET"); searchView._$entityTypeDropdown.trigger("change");