Skip to content

Commit b48253a

Browse files
committed
[update] links to new snippets in the docs for v9.2
1 parent a8887e9 commit b48253a

17 files changed

+50
-42
lines changed

docs/grid/api/grid_blockselection_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function blockSelectionHandler({ cell, array, index, grid }) {
196196
}
197197
~~~
198198

199-
**Related sample:** [Grid. BlockSelection. Work with the handle configuration](https://snippet.dhtmlx.com/8kttktiy)
199+
**Related sample:** [Grid. BlockSelection. Work with the handle configuration](https://snippet.dhtmlx.com/sryiguxu)
200200

201201
**Related articles:**
202202
- [Managing block selection in Grid](grid/configuration.md/#managing-block-selection-in-grid)

docs/grid/api/grid_clipboard_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const grid = new dhx.Grid("grid_container", {
7474
});
7575
~~~
7676

77-
**Related sample**: [Grid. Clipboard. Financial data with formatted copy/paste](https://snippet.dhtmlx.com/1fnkhwm0)
77+
**Related sample**: [Grid. Clipboard. Custom copy/cut/paste for number and date columns](https://snippet.dhtmlx.com/dfj49xah)
7878

7979
**Related articles:**
8080
- [Clipboard](grid/configuration.md/#clipboard)

docs/grid/api/grid_dragpanel_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const grid = new dhx.Grid("grid_container", {
8585
</script>
8686
~~~
8787

88-
**Related sample:** [Grid. DragPanel. Initialization](https://snippet.dhtmlx.com/oyk02cr6)
88+
**Related sample:** [Grid (TreeGrid). DragPanel. Initialization](https://snippet.dhtmlx.com/uevdwjuo)
8989

9090
**Related articles:**
9191
- [Adjusting DragPanel module](grid/configuration.md/#adjusting-dragpanel-module)

docs/grid/api/grid_history_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const grid = new dhx.Grid("grid_container", {
6666
grid.history.enable(); // enabling the module
6767
~~~
6868

69-
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/m88562wf)
69+
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/vznpyeit)
7070

7171
**Related articles:**
7272
- [History of Grid actions](grid/configuration.md/#history-of-grid-actions)

docs/grid/api/history/afteradd_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ grid.history.events.on("afterAdd", (action) => {
3535

3636
@descr:
3737

38-
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/m88562wf)
38+
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/vznpyeit)
3939

4040
**Related article**: [Adding/removing Grid history actions](grid/usage_history.md/#addingremoving-grid-history-actions)
4141

docs/grid/api/history/afterredo_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ grid.history.events.on("afterRedo", (action) => {
3535

3636
@descr:
3737

38-
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/m88562wf)
38+
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/vznpyeit)
3939

4040
**Related article**: [Applying undo/redo operations to Grid history actions](grid/usage_history.md/#applying-undoredo-operations-to-grid-history-actions)
4141

docs/grid/api/history/afterundo_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ grid.history.events.on("afterUndo", (action) => {
3535

3636
@descr:
3737

38-
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/m88562wf)
38+
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/vznpyeit)
3939

4040
**Related article**: [Applying undo/redo operations to Grid history actions](grid/usage_history.md/#applying-undoredo-operations-to-grid-history-actions)
4141

docs/grid/api/rangeselection/beforesetrange_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ grid.range.setRange({ xStart: "b", yStart: "1" }); // setting a new range is can
5858
**Related API**: [`setRange()`](grid/api/rangeselection/setrange_method.md),
5959
[`afterSetRange`](grid/api/rangeselection/aftersetrange_event.md)
6060

61-
**Related sample**: [Grid. BlockSelection in the "range" mode. Inventory selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
61+
**Related sample**: [Grid. BlockSelection in the "range" mode. Selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
6262

6363
@changelog:
6464
added in v9.2

docs/grid/api/rangeselection/setrange_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ console.log(grid.range.getRange()); // -> { xStart: "a", xEnd: "b", yStart: "1",
9191
**Related API**: [`getRange()`](grid/api/rangeselection/getrange_method.md),
9292
[`resetRange()`](grid/api/rangeselection/resetrange_method.md)
9393

94-
**Related sample**: [Grid. BlockSelection in the "range" mode. Inventory selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
94+
**Related sample**: [Grid. BlockSelection in the "range" mode. Selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
9595

9696
@changelog:
9797
added in v9.2

docs/grid/configuration.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2470,10 +2470,6 @@ If you use the GPL version of DHTMLX Grid (or DHTMLX Suite), you will be able to
24702470
**Note**, to be able to drag-n-drop a column and (or) multiple rows, you need to use PRO version of the DHTMLX Grid (or DHTMLX Suite) package.
24712471
:::
24722472
2473-
![](../assets/grid/dnd_treegrid_mode.png)
2474-
2475-
**Related sample**: [Grid. Drag-and-Drop in TreeGrid mode](https://snippet.dhtmlx.com/0tuk0y5f)
2476-
24772473
### Drag-n-drop inside the grid
24782474
24792475
It is possible to reorder a row or column of Grid by drag and drop. To enable the functionality, define the [`dragItem: "both"`](grid/api/grid_dragitem_config.md) property in the configuration object of Grid:
@@ -2599,7 +2595,7 @@ const grid = new dhx.Grid("grid_container", {
25992595
});
26002596
~~~
26012597
2602-
**Related sample**: [Grid. DragPanel. Initialization](https://snippet.dhtmlx.com/oyk02cr6)
2598+
**Related sample**: [Grid (TreeGrid). DragPanel. Initialization](https://snippet.dhtmlx.com/uevdwjuo)
26032599
26042600
The module is also automatically enabled if the [row Drag-and-Drop](#drag-n-drop) functionality is activated
26052601
(e.g. via the `dragItem: "row"` or `dragItem: "both"` properties) and either the [`BlockSelection`](grid/usage_blockselection.md) or [`Clipboard`](grid/usage_clipboard.md) modules are enabled.
@@ -2853,7 +2849,7 @@ const grid = new dhx.Grid("grid_container", {
28532849
});
28542850
~~~
28552851
2856-
**Related sample:** [Grid. BlockSelection in the "range" mode. Inventory selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
2852+
**Related sample:** [Grid. BlockSelection in the "range" mode. Selection with restricted columns](https://snippet.dhtmlx.com/42fp5qvt)
28572853
28582854
For information on using the Block Selection API, read the [Work with Block Selection module](grid/usage_blockselection.md) guide.
28592855
@@ -2915,7 +2911,7 @@ const grid = new dhx.Grid("grid_container", {
29152911
});
29162912
~~~
29172913

2918-
**Related sample**: [Grid. Clipboard. Financial data with formatted copy/paste](https://snippet.dhtmlx.com/1fnkhwm0)
2914+
**Related sample**: [Grid. Clipboard. Custom copy/cut/paste for number and date columns](https://snippet.dhtmlx.com/dfj49xah)
29192915

29202916
For information on working with Clipboard, read the [Work with Clipboard module](grid/usage_clipboard.md) guide.
29212917

@@ -2970,7 +2966,7 @@ const grid = new dhx.Grid("grid_container", {
29702966
grid.history.enable(); // enabling the module
29712967
~~~
29722968

2973-
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/m88562wf)
2969+
**Related sample:** [Grid. History. Configuration](https://snippet.dhtmlx.com/vznpyeit)
29742970

29752971
For information on working with the History API, read the [Work with History module](grid/usage_history.md) guide.
29762972

0 commit comments

Comments
 (0)