Skip to content

Commit e7ae075

Browse files
committed
FOR-1485: Data Grid -> Fixed columns being displayed for Hidden fields
1 parent 613efdf commit e7ae075

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [Unreleased]
8+
### Fixed
9+
- Data Grid displaying column for Hidden field
10+
711
### 3.0.0
812
#### Breaking Changes
913
- Changed the overrall structure of the library and how "imports" work to make them more structured.

src/components/datagrid/DataGrid.js

+1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ export default class DataGridComponent extends NestedComponent {
254254
_.each(this.rows, (comps) => {
255255
showColumn |= comps[col.key].checkConditions(data);
256256
});
257+
showColumn = showColumn && col.type !== 'hidden' && !col.hidden;
257258
if (
258259
(this.visibleColumns[col.key] && !showColumn) ||
259260
(!this.visibleColumns[col.key] && showColumn)

0 commit comments

Comments
 (0)