Skip to content

Commit

Permalink
onSetPropertyEditorOptions: Add docs for the editorOptions parame…
Browse files Browse the repository at this point in the history
…ter's properties (#5761)
  • Loading branch information
RomanTsukanov authored Aug 7, 2024
1 parent 3f63d0b commit 8805cb0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/survey-creator-core/src/creator-events-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,15 @@ export interface ConfigureTablePropertyEditorEvent {
*/
propertyName: string;
/**
* An obejct with table property editor settings that you can modify.
* An object with table property editor settings that you can modify. Contains the following properties:
* - `options.editorOptions.allowAddRemoveItems`: `boolean`
* A Boolean property that you can set to `false` if you want to disallow users to add and delete table rows.
*
* - `options.editorOptions.allowRemoveAllItems`: `boolean`
* A Boolean property that you can set to `false` if you want to disallow users to delete all table rows.
*
* - `options.editorOptions.allowBatchEdit`: `boolean`
* A Boolean property that you can set to `false` if you want to disallow users to edit table content as text in a pop-up window.
*/
editorOptions: TablePropertyEditorOptions;
}
Expand Down

0 comments on commit 8805cb0

Please sign in to comment.