Skip to content

Commit abd7228

Browse files
xristianstefanovdimodi
authored andcommitted
chore(Grid): return delay
1 parent 7bdec68 commit abd7228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

knowledge-base/grid-loader-during-contextmenu-actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ To display a spinner during delayed operations initiated from a ContextMenu in a
116116
case "BeginEdit":
117117
LoaderVisible = true;
118118
await Task.Delay(1); // triggers UI refresh for the LoaderContainer to show
119+
await Task.Delay(3000); // replace with the actual long-running task
119120
LoaderVisible = false;
120121
121122
var currState = GridRef.GetState();
@@ -127,6 +128,7 @@ To display a spinner during delayed operations initiated from a ContextMenu in a
127128
case "ToggleSelect":
128129
LoaderVisible = true;
129130
await Task.Delay(1); // triggers UI refresh for the LoaderContainer to show
131+
await Task.Delay(3000); // replace with the actual long-running task
130132
LoaderVisible = false;
131133
132134
var selItems = SelectedItems.ToList();

0 commit comments

Comments
 (0)