Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 25beb6c

Browse files
committed
docs: add note about Row Detail with dynamic elements
1 parent c00ec76 commit 25beb6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/grid-functionalities/row-detail.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ A Row Detail allows you to open a detail panel which can contain extra and/or mo
2020
> - Tree Data
2121
> - RowSpan
2222
23-
> **NOTE 2** Also please note that whenever you scroll back and forth, the Row Detail will be rendered and re-rendered multiple times when you scroll or open/collapse other Row Details. For that reason, you should avoid adding too many dynamic elements (like form with inputs) because whenever a re-render kicks in, it will most often reset these elements. So it is totally fine to use it to show extra details (hence where its name comes from "Row Detail" to show more detailed info) and even though it works with dynamic elements, you have to know its limitation.
23+
> **NOTE 2** Also please note that because SlickGrid is using its built-in Virtual Scroll feature by default (for perf reasons), this will call render and re-render multiple times and that happens whenever the Row Detail gets out of the grid viewport.
24+
> For this reason, you should avoid using dynamic elements (i.e. form inputs) because whenever a re-render kicks in, it will reset and re-render these elements as if nothing happened.
25+
> So you should consider using Row Detail mainly for showing static data (hence where its name comes from "Row Detail" to show more detailed info) and even though it works with dynamic elements, you have to know its limitation.
2426
2527
## Usage
2628

0 commit comments

Comments
 (0)