Skip to content

Commit

Permalink
Fixed issue with column resizing.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Juback committed Jun 26, 2020
1 parent fedf987 commit 73e1907
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 3.0.37 (June 25, 2020)
Fixed issue where the `csv-preview.resizeColumns` setting was ignored.

## 3.0.36 (June 22, 2020)
This extension no longer opens an Express (Node.js) web server on localhost. In previous versions, attempting to access localhost could trigger a Windows firewall alert even though all script and stylesheet files were being served from the extension's local directory. All communication between the webview and the extension is now handled by passing messages rather than by posting to localhost.

Expand Down
2 changes: 1 addition & 1 deletion out/csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ function initPage() {
}

flex.itemsSourceChanged.addHandler(function(s, e) {
applyState();
var resize = options.resizeColumns;
if (resize === "all") {
flex.autoSizeColumns();
} else if (resize === "first") {
flex.autoSizeColumn(0);
}
autoSizeVisibleRows(flex, true);
applyState();
preserveState();
if (flex.collectionView) {
flex.collectionView.collectionChanged.addHandler(() => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gc-excelviewer",
"displayName": "Excel Viewer",
"description": "View Excel spreadsheets and CSV files within Visual Studio Code workspaces.",
"version": "3.0.36",
"version": "3.0.37",
"icon": "img/gc-excelviewer.png",
"publisher": "GrapeCity",
"license": "SEE LICENSE IN LICENSE.txt",
Expand Down

0 comments on commit 73e1907

Please sign in to comment.