Skip to content

Commit 1ee7aa2

Browse files
chore(treelist): simplify wording
1 parent 28f32ae commit 1ee7aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/treelist/editing/incell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ The InCell edit mode provides a specific user experience that aims at fast effic
328328

329329
* If validation is not satisfied, you cannot open another cell for editing, and you need to either satisfy the validation, or press `Esc` to revert its value to the original one that should, ideally, satisfy validation.
330330

331-
* Editing (and inserting) items is a separate operation from expanding items. Therefore, if you click the "Add" button on a row that is not expanded, there will be an `OnCreate` call to insert a record as its child, but you will not see it in the UI opened for editing, because the treelist must not arbitrarily expand items - there can be other handlers, business logic or load-on-demand attached to that action, and that changes the users state - and the treelist should not invoke these changes arbitrarily. This also applies to items that currently have no child items - they will have a child item, but it will not expand and open for editing.
331+
* If you click the "Add" button on a row that is not expanded you will not see it in the UI opened for editing. There will be an `OnCreate` call to insert a record as its child, but editing (and inserting) items is a separate operation from expanding items and the treelist should not invoke these changes arbitrarily. There can be other handlers, business logic or load-on-demand attached to that action, and that changes the users state. This also applies to items that currently have no child items - they will now have a child item, but it will not expand and open for editing.
332332

333333
### Events Sequence
334334

0 commit comments

Comments
 (0)