Browse Source

This is in relation to #5112, adding pipe to table view of csvviewer (#5128)

* enhancement to add pipe delimiter in table view of csv

* Update toolbar.ts

* Adding pipe delimiter to table view of csvviewer
Aditya Sharma 6 năm trước cách đây
mục cha
commit
7ab941060e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/csvviewer/src/toolbar.ts

+ 2 - 2
packages/csvviewer/src/toolbar.ts

@@ -14,12 +14,12 @@ import { Styling } from '@jupyterlab/apputils';
 /**
  * The supported parsing delimiters.
  */
-const DELIMITERS = [',', ';', '\t'];
+const DELIMITERS = [',', ';', '\t', '|'];
 
 /**
  * The labels for each delimiter as they appear in the dropdown menu.
  */
-const LABELS = [',', ';', 'tab'];
+const LABELS = [',', ';', 'tab', 'pipe'];
 
 /**
  * The class name added to a csv toolbar widget.