Skip to content

Commit

Permalink
HtmlEditor: repaint method update (DevExpress#5530)
Browse files Browse the repository at this point in the history
  • Loading branch information
titerman authored and vladaskorohodova committed Feb 2, 2024
1 parent 6ba1a28 commit 18e4938
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-reference/10 UI Components/Widget/3 Methods/repaint().md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ id: Widget.repaint()
---
---
##### shortDescription
Repaints the UI component without reloading data. Call it to update the UI component's markup.
Renders the component again without reloading data. Use the method to update the component's markup and appearance dynamically.

---
The method repaints Toolbar and re-initializes all its items.
The `repaint()` method re-initializes the component with new settings, resetting its state and history.

#include btn-open-github with {
href: "https://github.com/DevExpress-Examples/devextreme-components-with-resize-observer"
Expand Down
10 changes: 10 additions & 0 deletions api-reference/10 UI Components/dxHtmlEditor/3 Methods/repaint().md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The `repaint()` method re-initializes the component with new settings, resetting its state and history. Note: when you `repaint()` a component, the "undo" and "redo" buttons become inactive.

#include btn-open-github with {
href: "https://github.com/DevExpress-Examples/devextreme-components-with-resize-observer"
}

#####See Also#####
- **reload()** in [DataSource](/api-reference/30%20Data%20Layer/DataSource/3%20Methods/reload().md '/Documentation/ApiReference/Data_Layer/DataSource/Methods/#reload') | [List](/api-reference/10%20UI%20Components/dxList/3%20Methods/reload().md '/Documentation/ApiReference/UI_Components/dxList/Methods/#reload')
- **refresh()** in [DataGrid](/api-reference/10%20UI%20Components/GridBase/3%20Methods/refresh().md '/Documentation/ApiReference/UI_Components/dxDataGrid/Methods/#refresh') | [TreeList](/api-reference/10%20UI%20Components/GridBase/3%20Methods/refresh().md '/Documentation/ApiReference/UI_Components/dxTreeList/Methods/#refresh')
#include common-link-callmethods

0 comments on commit 18e4938

Please sign in to comment.