浏览代码

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 年之前
父节点
当前提交
7ab941060e
共有 1 个文件被更改,包括 2 次插入2 次删除
  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.