Эх сурвалжийг харах

[beeswax] Warn on downloading beeswax results with more than 255 columns

Jenny Kim 10 жил өмнө
parent
commit
8d21a08

+ 6 - 0
apps/beeswax/src/beeswax/templates/execute.mako

@@ -1840,6 +1840,12 @@ $(document).ready(function () {
     }
   });
 
+  $("#download-excel").click(function () {
+    if (viewModel.design.results.columns().length > 255) {
+      $.jHueNotify.warn("${ _('Results exceeds maximum number of columns permitted by Excel, will truncate results to 255 columns.') }")
+    }
+  });
+
 });
 
 var editables = function() {