Skip to content

Commit 5920b2d

Browse files
authored
docs(Grid): Add the word readonly for non-editable columns for SEO (#3504)
1 parent c21d544 commit 5920b2d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

_contentTemplates/grid/editing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Without using the above command buttons, the application can:
177177
* Reload the Grid `Data` after making changes to the data source. When [using the Grid `OnRead` event, the component will fire `OnRead` and rebind automatically](#basic).
178178
* Apply the user changes to the Grid `Data` parameter to spare one read request to the database.
179179
* Use `DataAnnotations` validation for the `Name` and `ReleaseDate` properties.
180-
* Define the `Id` column as non-editable.
180+
* Define the `Id` column as readonly with `Editable="false"`.
181181
* Customize the `Description` and `Discontinued` column editors without using an `EditorTemplate`.
182182
* Render the **Delete** command button conditionally if `Discontinued` is `true`.
183183
* Confirm **Delete** commands with the built-in Grid Dialog. You can also [intercept item deletion with a separate Dialog or a custom popup](slug:grid-kb-customize-delete-confirmation-dialog).

components/grid/columns/bound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ You can use the following properties on bound columns:
108108

109109
### Data Operations
110110

111-
* `Editable` - (defaults to `true`) - set it to `true` or `false` to allow or prevent [editing](slug:grid-editing-overview) of this field. To edit data, you also need a [CommandColumn](slug:components/grid/columns/command).
111+
* `Editable` - (defaults to `true`) - set it to `false` to make the column readonly and prevent [editing](slug:grid-editing-overview) of this field. To edit data, you also need a [CommandColumn](slug:components/grid/columns/command).
112112
* `EditorType` - set the [editor component for `string` or `DateTime` columns](slug:grid-editing-overview#column-editors) when an [`EditorTemplate`](slug:grid-templates-editor) is not used.
113113
* `Filterable` - (defaults to `true`) - set this to `false` so a [filterable](slug:components/grid/filtering) Grid will not let the user filter that particular column.
114114
* `FilterEditorType` - (defaults to `GridFilterEditorType.DatePicker`) - determines if the default filtering component of a `DateTime` column will be a DatePicker or a DateTimePicker.

components/grid/editing/incell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use in-cell Grid editing, [set the Grid `EditMode` parameter to `GridEditMode
2727
* Click outside the Grid to confirm the current value and exit edit mode.
2828
* Peform another Grid operation, for example, paging or sorting, to cancel the current edit operation.
2929

30-
Command columns and non-editable columns are skipped while tabbing.
30+
Command columns and read-only columns are skipped while tabbing.
3131

3232
## Commands
3333

components/grid/editing/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The Grid provides the following built-in commands, which enable users to add, de
9797
Users execute commands in the following ways:
9898

9999
* By clicking on [command buttons](slug:components/grid/columns/command#the-gridcommandbutton-tag).
100-
* By clicking on editable cells in [in-cell edit mode](slug:grid-editing-incell) and then anywhere else on the page.
100+
* By clicking on [editable](slug:components/grid/columns/bound#data-operations) cells in [in-cell edit mode](slug:grid-editing-incell) and then anywhere else on the page.
101101
* By using the [Grid keyboard navigation](https://demos.telerik.com/blazor-ui/grid/keyboard-navigation).
102102

103103
Command buttons can only reside in a [Grid Command Column](slug:components/grid/columns/command) or the [Grid ToolBar](slug:components/grid/features/toolbar). Each command button in the command column is visible only in display mode or only in edit mode, depending on the button's `ShowInEdit` boolean parameter value.

components/grid/editing/popup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The Grid exposes options to customize the edit popup and its form. Define the de
4444

4545
### Edit Hidden Columns
4646

47-
Starting with version 7.0, the Grid allows users to edit [hidden columns](slug:grid-columns-visible) by default. To disable editing of a hidden column, set `Editable="false"` to the respective `<GridColumn>` tag.
47+
Starting with version 7.0, the Grid allows users to edit [hidden columns](slug:grid-columns-visible) by default. To disable editing of a hidden column, set `Editable="false"` to the respective `<GridColumn>` tag to make it read-only.
4848

4949
### Popup Settings
5050

0 commit comments

Comments
 (0)