From e17be5e9643fd5ccd3f0eed7421bdb388e596929 Mon Sep 17 00:00:00 2001 From: Masha_Rudenko Date: Mon, 23 Oct 2023 16:29:33 +0300 Subject: [PATCH] [update] add/update links to snippets --- docs/grid/configuration.md | 2 ++ docs/menu/api/menu_click_event.md | 2 +- docs/menu/api/menu_keydown_event.md | 2 ++ docs/menu/api/menu_openmenu_event.md | 2 +- docs/ribbon/api/ribbon_click_event.md | 2 +- docs/ribbon/api/ribbon_input_event.md | 2 +- docs/ribbon/api/ribbon_inputblur_event.md | 2 +- docs/ribbon/api/ribbon_inputchange_event.md | 2 +- docs/ribbon/api/ribbon_inputcreated_event.md | 2 +- docs/ribbon/api/ribbon_inputfocus_event.md | 2 +- docs/ribbon/api/ribbon_keydown_event.md | 2 ++ docs/sidebar/api/sidebar_aftercollapse_event.md | 2 +- docs/sidebar/api/sidebar_afterexpand_event.md | 2 +- docs/sidebar/api/sidebar_afterhide_event.md | 2 +- docs/sidebar/api/sidebar_beforecollapse_event.md | 2 +- docs/sidebar/api/sidebar_beforeexpand_event.md | 2 +- docs/sidebar/api/sidebar_beforehide_event.md | 2 +- docs/sidebar/api/sidebar_click_event.md | 2 +- docs/sidebar/api/sidebar_keydown_event.md | 2 ++ docs/sidebar/api/sidebar_openmenu_event.md | 2 +- docs/toolbar/api/toolbar_afterhide_event.md | 2 +- docs/toolbar/api/toolbar_beforehide_event.md | 2 +- docs/toolbar/api/toolbar_click_event.md | 2 +- docs/toolbar/api/toolbar_input_event.md | 2 +- docs/toolbar/api/toolbar_inputblur_event.md | 2 +- docs/toolbar/api/toolbar_inputchange_event.md | 2 +- docs/toolbar/api/toolbar_inputcreated_event.md | 2 +- docs/toolbar/api/toolbar_inputfocus_event.md | 2 +- docs/toolbar/api/toolbar_keydown_event.md | 2 ++ docs/toolbar/api/toolbar_openmenu_event.md | 2 +- docs/treegrid/configuration.md | 2 ++ 31 files changed, 37 insertions(+), 25 deletions(-) diff --git a/docs/grid/configuration.md b/docs/grid/configuration.md index 7ab738be..887a99d7 100644 --- a/docs/grid/configuration.md +++ b/docs/grid/configuration.md @@ -895,6 +895,8 @@ In case a user enters a value that goes beyond the limits specified by the above If the user ignores the warning and still tries to enter an unallowable value, it will be replaced with the minimum/maximum value defined in the **editorConfig** object by the **min/max** values. Thus, in the above example the entered value `200` will be replaced with `100`, since it is the upper limit set in the editor configuration. +**Related sample:** [Grid. Editing with different editors](https://snippet.dhtmlx.com/w2cdossn?tag=grid) + #### Styling the warning There is a possibility to redefine the style of the warning on entering an invalid number value. You need to change the `dhx_cell-editor__input--not-valid` class for this purpose. Here is what it looks like: diff --git a/docs/menu/api/menu_click_event.md b/docs/menu/api/menu_click_event.md index 16e8a7e0..94a31e7f 100644 --- a/docs/menu/api/menu_click_event.md +++ b/docs/menu/api/menu_click_event.md @@ -21,4 +21,4 @@ menu.events.on("click", function(id,e){ @descr: -**Related sample**: [Menu. Events](https://snippet.dhtmlx.com/yjt39a4k) +**Related sample**: [Menu. Events](https://snippet.dhtmlx.com/yjt39a4k?tag=menu) diff --git a/docs/menu/api/menu_keydown_event.md b/docs/menu/api/menu_keydown_event.md index fe975610..a35207ff 100644 --- a/docs/menu/api/menu_keydown_event.md +++ b/docs/menu/api/menu_keydown_event.md @@ -21,5 +21,7 @@ menu.events.on("keydown", function(event, id) { @descr: +**Related sample**: [Menu. Events](https://snippet.dhtmlx.com/yjt39a4k?tag=menu) + @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/menu/api/menu_openmenu_event.md b/docs/menu/api/menu_openmenu_event.md index 22d53feb..ae7bee3b 100644 --- a/docs/menu/api/menu_openmenu_event.md +++ b/docs/menu/api/menu_openmenu_event.md @@ -20,4 +20,4 @@ menu.events.on("openMenu", function(id){ @descr: -**Related sample**: [Menu. Events](https://snippet.dhtmlx.com/yjt39a4k) +**Related sample**: [Menu. Events](https://snippet.dhtmlx.com/yjt39a4k?tag=menu) diff --git a/docs/ribbon/api/ribbon_click_event.md b/docs/ribbon/api/ribbon_click_event.md index c7168a39..0fdc6eaf 100644 --- a/docs/ribbon/api/ribbon_click_event.md +++ b/docs/ribbon/api/ribbon_click_event.md @@ -21,6 +21,6 @@ ribbon.events.on("click", function(id,e){ @descr: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) [comment]: # (@related: ribbon/handling_events.md) diff --git a/docs/ribbon/api/ribbon_input_event.md b/docs/ribbon/api/ribbon_input_event.md index b46ee1f6..9eb8f47b 100644 --- a/docs/ribbon/api/ribbon_input_event.md +++ b/docs/ribbon/api/ribbon_input_event.md @@ -21,7 +21,7 @@ ribbon.events.on("input", function(id, value){ @descr: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/ribbon/api/ribbon_inputblur_event.md b/docs/ribbon/api/ribbon_inputblur_event.md index 0f685308..74235501 100644 --- a/docs/ribbon/api/ribbon_inputblur_event.md +++ b/docs/ribbon/api/ribbon_inputblur_event.md @@ -20,6 +20,6 @@ ribbon.events.on("inputBlur", function(id){ @descr: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) [comment]: # (@related: ribbon/handling_events.md) diff --git a/docs/ribbon/api/ribbon_inputchange_event.md b/docs/ribbon/api/ribbon_inputchange_event.md index 170b38b0..b19b858e 100644 --- a/docs/ribbon/api/ribbon_inputchange_event.md +++ b/docs/ribbon/api/ribbon_inputchange_event.md @@ -17,6 +17,6 @@ ribbon.events.on("inputChange", function(id, newValue){ }); @examplestop: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/ribbon/api/ribbon_inputcreated_event.md b/docs/ribbon/api/ribbon_inputcreated_event.md index 47c80378..df6ac2b7 100644 --- a/docs/ribbon/api/ribbon_inputcreated_event.md +++ b/docs/ribbon/api/ribbon_inputcreated_event.md @@ -21,6 +21,6 @@ ribbon.events.on("inputCreated", function(id, el){ @descr: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) [comment]: # (@related: ribbon/handling_events.md) diff --git a/docs/ribbon/api/ribbon_inputfocus_event.md b/docs/ribbon/api/ribbon_inputfocus_event.md index 72b09193..80f990b7 100644 --- a/docs/ribbon/api/ribbon_inputfocus_event.md +++ b/docs/ribbon/api/ribbon_inputfocus_event.md @@ -20,6 +20,6 @@ ribbon.events.on("inputFocus", function(id){ @descr: -**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl) +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) [comment]: # (@related: ribbon/handling_events.md) diff --git a/docs/ribbon/api/ribbon_keydown_event.md b/docs/ribbon/api/ribbon_keydown_event.md index 95a91f7e..a83ea87e 100644 --- a/docs/ribbon/api/ribbon_keydown_event.md +++ b/docs/ribbon/api/ribbon_keydown_event.md @@ -21,5 +21,7 @@ ribbon.events.on("keydown", function(event, id) { @descr: +**Related sample**: [Ribbon. Events](https://snippet.dhtmlx.com/i7cfddkl?tag=ribbon) + @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/sidebar/api/sidebar_aftercollapse_event.md b/docs/sidebar/api/sidebar_aftercollapse_event.md index 1e91a70d..4e062b52 100644 --- a/docs/sidebar/api/sidebar_aftercollapse_event.md +++ b/docs/sidebar/api/sidebar_aftercollapse_event.md @@ -17,7 +17,7 @@ sidebar.events.on("afterCollapse", function() { @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) @changelog: added in v6.4 diff --git a/docs/sidebar/api/sidebar_afterexpand_event.md b/docs/sidebar/api/sidebar_afterexpand_event.md index f7dcbe03..a64a8e43 100644 --- a/docs/sidebar/api/sidebar_afterexpand_event.md +++ b/docs/sidebar/api/sidebar_afterexpand_event.md @@ -17,7 +17,7 @@ sidebar.events.on("afterExpand", function() { @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) @changelog: added in v6.4 diff --git a/docs/sidebar/api/sidebar_afterhide_event.md b/docs/sidebar/api/sidebar_afterhide_event.md index 37100318..27e06013 100644 --- a/docs/sidebar/api/sidebar_afterhide_event.md +++ b/docs/sidebar/api/sidebar_afterhide_event.md @@ -20,6 +20,6 @@ sidebar.events.on("afterHide", function(event){ @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) [comment]: # (@related: sidebar/events.md) diff --git a/docs/sidebar/api/sidebar_beforecollapse_event.md b/docs/sidebar/api/sidebar_beforecollapse_event.md index bcfc9fda..ede52fa8 100644 --- a/docs/sidebar/api/sidebar_beforecollapse_event.md +++ b/docs/sidebar/api/sidebar_beforecollapse_event.md @@ -21,7 +21,7 @@ sidebar.events.on("beforeCollapse", function() { @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) @changelog: added in v6.4 diff --git a/docs/sidebar/api/sidebar_beforeexpand_event.md b/docs/sidebar/api/sidebar_beforeexpand_event.md index 6158d2c8..4602d70a 100644 --- a/docs/sidebar/api/sidebar_beforeexpand_event.md +++ b/docs/sidebar/api/sidebar_beforeexpand_event.md @@ -21,7 +21,7 @@ sidebar.events.on("beforeExpand", function() { @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) @changelog: added in v6.4 diff --git a/docs/sidebar/api/sidebar_beforehide_event.md b/docs/sidebar/api/sidebar_beforehide_event.md index 09e0c6a3..9644c950 100644 --- a/docs/sidebar/api/sidebar_beforehide_event.md +++ b/docs/sidebar/api/sidebar_beforehide_event.md @@ -25,6 +25,6 @@ sidebar.events.on("beforeHide", function(id, event){ @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) [comment]: # (@related: sidebar/events.md) diff --git a/docs/sidebar/api/sidebar_click_event.md b/docs/sidebar/api/sidebar_click_event.md index f0db7a11..6ad9b8d4 100644 --- a/docs/sidebar/api/sidebar_click_event.md +++ b/docs/sidebar/api/sidebar_click_event.md @@ -21,6 +21,6 @@ sidebar.events.on("click", function(id,e){ @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) [comment]: # (@related: sidebar/events.md) diff --git a/docs/sidebar/api/sidebar_keydown_event.md b/docs/sidebar/api/sidebar_keydown_event.md index 461796d8..d25f39de 100644 --- a/docs/sidebar/api/sidebar_keydown_event.md +++ b/docs/sidebar/api/sidebar_keydown_event.md @@ -21,5 +21,7 @@ sidebar.events.on("keydown", function(event, id) { @descr: +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) + @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/sidebar/api/sidebar_openmenu_event.md b/docs/sidebar/api/sidebar_openmenu_event.md index 940639b2..973dcc6d 100644 --- a/docs/sidebar/api/sidebar_openmenu_event.md +++ b/docs/sidebar/api/sidebar_openmenu_event.md @@ -20,6 +20,6 @@ sidebar.events.on("openMenu", function(id){ @descr: -**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i) +**Related sample**: [Sidebar. Events](https://snippet.dhtmlx.com/qfddiu3i?tag=sidebar) [comment]: # (@related: sidebar/events.md) diff --git a/docs/toolbar/api/toolbar_afterhide_event.md b/docs/toolbar/api/toolbar_afterhide_event.md index 76d41bfd..97898ad3 100644 --- a/docs/toolbar/api/toolbar_afterhide_event.md +++ b/docs/toolbar/api/toolbar_afterhide_event.md @@ -20,4 +20,4 @@ toolbar.events.on("afterHide", function(event){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_beforehide_event.md b/docs/toolbar/api/toolbar_beforehide_event.md index a2491f6c..2e93ca31 100644 --- a/docs/toolbar/api/toolbar_beforehide_event.md +++ b/docs/toolbar/api/toolbar_beforehide_event.md @@ -25,4 +25,4 @@ toolbar.events.on("beforeHide", function(id, event){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_click_event.md b/docs/toolbar/api/toolbar_click_event.md index 0717c1e5..bcc92272 100644 --- a/docs/toolbar/api/toolbar_click_event.md +++ b/docs/toolbar/api/toolbar_click_event.md @@ -21,4 +21,4 @@ toolbar.events.on("click", function(id,e){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_input_event.md b/docs/toolbar/api/toolbar_input_event.md index 804b9455..066fd56c 100644 --- a/docs/toolbar/api/toolbar_input_event.md +++ b/docs/toolbar/api/toolbar_input_event.md @@ -21,7 +21,7 @@ toolbar.events.on("input", function(id, value){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/toolbar/api/toolbar_inputblur_event.md b/docs/toolbar/api/toolbar_inputblur_event.md index 1ed83dd1..1c23d27c 100644 --- a/docs/toolbar/api/toolbar_inputblur_event.md +++ b/docs/toolbar/api/toolbar_inputblur_event.md @@ -20,4 +20,4 @@ toolbar.events.on("inputBlur", function(id){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_inputchange_event.md b/docs/toolbar/api/toolbar_inputchange_event.md index 9300ea40..4f4e1466 100644 --- a/docs/toolbar/api/toolbar_inputchange_event.md +++ b/docs/toolbar/api/toolbar_inputchange_event.md @@ -17,6 +17,6 @@ toolbar.events.on("inputChange", function(id, newValue){ }); @examplestop: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) @changelog: added in v7.2 \ No newline at end of file diff --git a/docs/toolbar/api/toolbar_inputcreated_event.md b/docs/toolbar/api/toolbar_inputcreated_event.md index 34101415..61add17e 100644 --- a/docs/toolbar/api/toolbar_inputcreated_event.md +++ b/docs/toolbar/api/toolbar_inputcreated_event.md @@ -21,4 +21,4 @@ toolbar.events.on("inputCreated", function(id, input){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_inputfocus_event.md b/docs/toolbar/api/toolbar_inputfocus_event.md index ddb3de3a..ddae1dc5 100644 --- a/docs/toolbar/api/toolbar_inputfocus_event.md +++ b/docs/toolbar/api/toolbar_inputfocus_event.md @@ -20,4 +20,4 @@ toolbar.events.on("inputFocus", function(id){ @descr: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/toolbar/api/toolbar_keydown_event.md b/docs/toolbar/api/toolbar_keydown_event.md index efea1eda..a55934e1 100644 --- a/docs/toolbar/api/toolbar_keydown_event.md +++ b/docs/toolbar/api/toolbar_keydown_event.md @@ -21,5 +21,7 @@ toolbar.events.on("keydown", function(event, id) { @descr: +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) + @changelog: added in v8.3 \ No newline at end of file diff --git a/docs/toolbar/api/toolbar_openmenu_event.md b/docs/toolbar/api/toolbar_openmenu_event.md index d4cffa58..6c3cebd1 100644 --- a/docs/toolbar/api/toolbar_openmenu_event.md +++ b/docs/toolbar/api/toolbar_openmenu_event.md @@ -19,4 +19,4 @@ toolbar.events.on("openMenu", function(id){ }); @examplestop: -**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y) +**Related sample**: [Toolbar. Events](https://snippet.dhtmlx.com/xvak1p5y?tag=toolbar) diff --git a/docs/treegrid/configuration.md b/docs/treegrid/configuration.md index 5811430d..43b26711 100644 --- a/docs/treegrid/configuration.md +++ b/docs/treegrid/configuration.md @@ -905,6 +905,8 @@ In case a user enters a value that goes beyond the limits specified by the above If the user ignores the warning and still tries to enter an unallowable value, it will be replaced with the minimum/maximum value defined in the **editorConfig** object by the **min/max** values. Thus, in the above example the entered value `200` will be replaced with `100`, since it is the upper limit set in the editor configuration. +**Related sample**: [TreeGrid. Editing with different editors](https://snippet.dhtmlx.com/sdbfbv2n?tag=treegrid) + #### Styling the warning There is a possibility to redefine the style of the warning on entering an invalid number value. You need to change the `dhx_cell-editor__input--not-valid` class for this purpose. Here is what it looks like: