Skip to content

Commit ad3c4b9

Browse files
committed
[update] the sort method page
1 parent fc76c7f commit ad3c4b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

data/api/gantt_sort.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ sort
4040

4141
The custom sorting function takes the **Task** objects as arguments and should return the number (1,0, or -1)
4242

43-
The **parent** parameter is ignored when applying a custom function for sorting. Check the [example](https://snippet.dhtmlx.com/5/ac5beb945).
43+
The **parent** parameter is ignored when applying a custom function for sorting. [Check the example](https://snippet.dhtmlx.com/d8li6kq2).
44+
45+
When the **sort()** method is used, Gantt doesn't add any sorting icon (an arrow displaying the sorting direction). In case you need to render a sorting icon, you can add it
46+
manually. [Check the example](https://snippet.dhtmlx.com/5bjavofk).

0 commit comments

Comments
 (0)