-
Notifications
You must be signed in to change notification settings - Fork 380
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(react-grid): add the ability to prevent editing by a column #729
feat(react-grid): add the ability to prevent editing by a column #729
Conversation
How do I install this new feature? |
Hi @KaiWynn, This feature will be available in the next release. |
Thank you. |
Field | Type | Description | ||
------|------|------------ | ||
columnName | string | The name of a column to extend. | ||
editingEnabled | boolean | Specifies whether editing is enabled for a column. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed optionality
@@ -13,7 +13,8 @@ none | |||
Name | Type | Default | Description | |||
-----|------|---------|------------ | |||
createRowChange | (row: any, columnName: string, value: string | number) => any | | A function that returns a row change object depending on row editor values. This function is called each time the row editor's value changes. | |||
columnExtensions | Array<[EditingColumnExtension](#editingcolumnextension)> | | Additional column properties that the plugin can handle. | |||
columnEditingEnabled | boolean | true | Specifies whether editing is enabled for all columns. | |||
columnExtensions | Array<[EditingStateColumnExtension](#editingstatecolumnextension)> | | Additional column properties that the plugin can handle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed optionality
@@ -13,7 +13,8 @@ none | |||
Name | Type | Default | Description | |||
-----|------|---------|------------ | |||
createRowChange | (row: any, columnName: string, value: string | number) => any | | A function that returns a row change object depending on row editor values. This function is called each time the row editor's value changes. | |||
columnExtensions | Array<[EditingColumnExtension](#editingcolumnextension)> | | Additional column properties that the plugin can handle. | |||
columnEditingEnabled | boolean | true | Specifies whether editing is enabled for all columns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed optionality
@@ -30,15 +31,14 @@ onCommitChanges | (Array<[ChangeSet](#change-set)>) => void | | Handles ro | |||
|
|||
## Interfaces | |||
|
|||
### EditingColumnExtension | |||
### EditingStateColumnExtension |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EditingState.ColumnExtension
…ctive into prevent-row-editing
No description provided.