Skip to content
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

Update sorting.md #7665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/controls/grid/sorting.md
Expand Up @@ -33,7 +33,7 @@ The Grid supports the following sort modes:

### Single-Column Sorting

By default, the Grid applies single-column sorting when `sortable` is set to `true`. You can also configure the single-column sort mode by setting the `mode` option of `editable` to `single`.
By default, the Grid applies single-column sorting when `sortable` is set to `true`. You can also configure the single-column sort mode by setting the `mode` option of `sortable` to `single`.

$("#grid").kendoGrid({
sortable: true
Expand All @@ -42,7 +42,7 @@ By default, the Grid applies single-column sorting when `sortable` is set to `tr

### Multi-Column Sorting

To enable multi-column sorting, set the `mode` option of `editable` to `multiple`.
To enable multi-column sorting, set the `mode` option of `sortable` to `multiple`.

$("#grid").kendoGrid({
sortable: {
Expand All @@ -55,7 +55,7 @@ To enable multi-column sorting, set the `mode` option of `editable` to `multiple

Mixed Sorting allows users to [single-sort](#single-column-sorting) columns by clicking their title and [multi-sort](#multi-column-sorting) columns by holding the `CTRL` key and clicking the columns' title. A single-click (without holding the the `CTRL` key) on any column un-sorts the currently sorted columns and applies single-sorting to the clicked column.

To enable multi-column sorting, set the `mode` option of `editable` property to `multiple`.
To enable multi-column sorting, set the `mode` option of `sortable` property to `mixed`.

$("#grid").kendoGrid({
sortable: {
Expand Down