Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8ca69a

Browse files
authored
global recompute helper (windmill-labs#857)
* global recompute helper * filteredIds -> excludeIds * note on circular recompute
1 parent cf96dd4 commit b8ca69a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/apps/3_app-runnable-panel.mdx

+17
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,23 @@ Example:
408408
recompute('a');
409409
```
410410

411+
### globalRecompute
412+
413+
Use the `globalRecompute` function to recompute all components and trigger their runnables.
414+
Note that you should disable the "Run on start and app refresh" toggle for the runnable to avoid circular recomputes.
415+
416+
Syntax:
417+
418+
```js
419+
globalRecompute()
420+
```
421+
422+
Example:
423+
424+
```js
425+
globalRecompute()
426+
```
427+
411428
### getAgGrid
412429

413430
Use the `getAgGrid` function to get the ag-grid instance of a table.

0 commit comments

Comments
 (0)