You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/grid-drag-drop-in-different-components.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,14 @@ There are at least two ways to approach drag and drop across different parent co
35
35
* Use parameters and `EventCallback`s to pass information between the two parent Razor components, which hold the Telerik components. This is a suitable approach if the two parent components are a siblings in their own parent.
36
36
* Use a state management service in your app, which will execute methods and fire events to the Razor components that hold the Telerik components. This is a suitable approach in all cases, but especially if the two parent components are further away in the app component hierarchy.
37
37
38
-
The algorithm below is applicable for the [Grid]({%slug grid-drag-drop-overview%}), [TreeList]({%slug treelist-drag-drop-overview%}) and [TreeView]({%slug treeview-drag-drop-overview%}).
38
+
The described algorithm and the example below are applicable for the [Grid]({%slug grid-drag-drop-overview%}), [TreeList]({%slug treelist-drag-drop-overview%}) and [TreeView]({%slug treeview-drag-drop-overview%}).
39
39
40
40
## Example
41
41
42
42
The following example includes three files:
43
43
44
-
*`Home.razor` is the component (page) that holds `GridContainer` components with Telerik Grids inside.
45
44
*`GridContainer.razor` is a Razor component that contains a Grid with enabled row drag and drop.
45
+
*`Home.razor` is a component (page) that holds two `GridContainer` instances.
46
46
*`GridModel.cs` is the Grid model class.
47
47
48
48
Adjust the `YourAppName` namespace in `Home.razor` and `GridModel.cs` to run the code successfully in your app.
@@ -178,6 +178,6 @@ namespace YourAppName.Data
178
178
179
179
## See Also
180
180
181
-
*[Drag and drop items between Grids]({%slug grid-drag-drop-overview%})
182
-
*[Drag and drop items between TreeLists]({%slug treelist-drag-drop-overview%})
183
-
*[Drag and drop items between TreeViews]({%slug treeview-drag-drop-overview%})
181
+
*[Grid Drag and Drop Documentation]({%slug grid-drag-drop-overview%})
182
+
*[TreeList Drag and Drop Documentation]({%slug treelist-drag-drop-overview%})
183
+
*[TreeView Drag and Drop Documentation]({%slug treeview-drag-drop-overview%})
0 commit comments