소스 검색

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.