Skip to content

Commit

Permalink
[delete] [grid] the section on sorting rules resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
mafanya23 committed Feb 13, 2024
1 parent b9b1995 commit 4bbb9b0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/grid/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,6 @@ grid.data.sort({

**Related sample**: [Grid. Sorting](https://snippet.dhtmlx.com/81dmbdfd)

To discard all applied sorting rules, call the method without parameters:

~~~js
grid.data.sort();
~~~

#### Custom sorting

You can also specify the **rule** attribute in a passed object instead of the default ones and set a custom function for sorting. For example:
Expand Down

0 comments on commit 4bbb9b0

Please sign in to comment.