Skip to content

Commit

Permalink
[update] add/update links to snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
mafanya23 committed Oct 23, 2023
1 parent 5785788 commit e17be5e
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 25 deletions.
2 changes: 2 additions & 0 deletions docs/grid/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/menu/api/menu_click_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions docs/menu/api/menu_keydown_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/menu/api/menu_openmenu_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_click_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_input_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_inputblur_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_inputchange_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_inputcreated_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/ribbon/api/ribbon_inputfocus_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions docs/ribbon/api/ribbon_keydown_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_aftercollapse_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_afterexpand_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_afterhide_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_beforecollapse_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_beforeexpand_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_beforehide_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_click_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions docs/sidebar/api/sidebar_keydown_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/sidebar/api/sidebar_openmenu_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_afterhide_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_beforehide_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_click_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_input_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_inputblur_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_inputchange_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_inputcreated_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_inputfocus_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions docs/toolbar/api/toolbar_keydown_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/toolbar/api/toolbar_openmenu_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions docs/treegrid/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e17be5e

Please sign in to comment.