Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GridColumn.showIn for csv-only columns. #1109

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

stephenh
Copy link
Contributor

No description provided.

@stephenh stephenh marked this pull request as ready for review January 30, 2025 15:18
@@ -249,23 +249,21 @@ export class GridTableApiImpl<R extends Kinded> implements GridTableApi<R> {
const csvPrefixRows = this.tableState.csvPrefixRows?.map((row) => row.map(escapeCsvValue).join(",")) ?? [];
// Convert the array of rows into CSV format
const dataRows = this.tableState.visibleRows.map((rs) => {
const values = this.tableState.visibleColumns
.filter((c) => !c.isAction)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly whitespace changes, the only real change is this !c.isAction moved into the new visibleCsvColumns method.

Copy link
Contributor

@chr1sjf0x chr1sjf0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍣

@stephenh stephenh force-pushed the feat-csv-only-columns branch from 499b96e to f4eb3e0 Compare January 30, 2025 21:08
@stephenh stephenh merged commit 80836e6 into main Jan 30, 2025
6 checks passed
@stephenh stephenh deleted the feat-csv-only-columns branch January 30, 2025 21:13
homebound-team-bot pushed a commit that referenced this pull request Jan 30, 2025
## [2.378.0](v2.377.3...v2.378.0) (2025-01-30)

### Features

* Add GridColumn.showIn for csv-only columns. ([#1109](#1109)) ([80836e6](80836e6))
@homebound-team-bot
Copy link

🎉 This PR is included in version 2.378.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants