Skip to content

Commit 56c8c24

Browse files
authored
refactor: fix crud grid hide edit column usage (#8338)
1 parent e5ffc28 commit 56c8c24

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

packages/crud/src/vaadin-crud-grid-mixin.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,10 @@ export declare class CrudGridMixinClass {
3636
* @attr {boolean} no-head
3737
*/
3838
noHead: boolean | null | undefined;
39+
40+
/**
41+
* Determines whether the edit column should be hidden.
42+
* @attr {boolean} hide-edit-column
43+
*/
44+
hideEditColumn: boolean | null | undefined;
3945
}

packages/crud/src/vaadin-crud-grid-mixin.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ export const CrudGridMixin = (superClass) =>
3939
*/
4040
noHead: Boolean,
4141

42-
/** @private */
43-
__hideEditColumn: Boolean,
42+
/**
43+
* Determines whether the edit column should be hidden.
44+
* @attr {boolean} hide-edit-column
45+
*/
46+
hideEditColumn: {
47+
type: Boolean,
48+
},
4449
};
4550
}
4651

0 commit comments

Comments
 (0)