Skip to content

Commit 46ca4bc

Browse files
docs(gantt): fix ClientNavigationCommand event description
1 parent 3f82b41 commit 46ca4bc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

controls/gantt/client-side-programming/events/onclientnavigationcommand.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,18 @@ position: 8
1010

1111
# OnClientNavigationCommand
1212

13-
##
1413

15-
The **OnClientNavigationCommand** occurs when the Task moving is started.
14+
The **OnClientNavigationCommand** occurs when the user changes the selected view of the Gant.
1615

1716
The event handler receives two parameters:
1817

1918
1. The instance of the **Gantt** control firing the event.
2019

2120
1. An **eventArgs** parameter containing the following methods:
2221

23-
* **get_task** return the current moved task.
24-
25-
* **set_cancel** lets you cancel the event and prevent the task moving.
26-
27-
* **get_view** returns the name of the selected view.
22+
* **set_cancel** lets you cancel the event and prevent the view switching.
23+
24+
* **get_view** returns the name of the selected view.
2825

2926
````ASP.NET
3027
<telerik:RadGantt RenderMode="Lightweight" runat="server" id="RadGantt1" OnClientNavigationCommand="OnClientNavigationCommand">

0 commit comments

Comments
 (0)