From 98a6ee2e18fa014a4476b5439d14ff28aaf2d50e Mon Sep 17 00:00:00 2001 From: Dimo Dimov <961014+dimodi@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:53:01 +0200 Subject: [PATCH 1/2] docs(grid): Fix misleading statements --- components/grid/refresh-data.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/grid/refresh-data.md b/components/grid/refresh-data.md index 9ee43f7bf6..ff745fa4ba 100644 --- a/components/grid/refresh-data.md +++ b/components/grid/refresh-data.md @@ -174,8 +174,6 @@ You can refresh the Grid data by using the `Rebind` method exposed to the refere @[template](/_contentTemplates/common/observable-data.md#tip-for-new-collection) ->note If you are using the [OnRead event to implement the data operations manually](slug://components/grid/manual-operations), you must not use the `.Add()`, `.Remove()` or `.Clear()` method of an observable collection - the grid monitors that collection and it fires the `OnRead` event when it changes, so calling those methods will result in an infinite loop. Either create a new collection, or use a simple List, or do not use OnRead with observable data. - ## New Collection Reference @[template](/_contentTemplates/common/observable-data.md#refresh-data) From a2d1da8113f54addb46c8646653b92c51ffa689e Mon Sep 17 00:00:00 2001 From: Dimo Dimov <961014+dimodi@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:57:06 +0200 Subject: [PATCH 2/2] Update refresh-data-not-applicable.md --- _contentTemplates/common/refresh-data-not-applicable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_contentTemplates/common/refresh-data-not-applicable.md b/_contentTemplates/common/refresh-data-not-applicable.md index 16e99bc0ea..6ff1f6996a 100644 --- a/_contentTemplates/common/refresh-data-not-applicable.md +++ b/_contentTemplates/common/refresh-data-not-applicable.md @@ -1,3 +1,3 @@ #refresh-data-note ->note As part of our `3.0.1` release we introduced the `Rebind` method to the component reference. This would make the rest of the approaches in this article obsolete. -#end \ No newline at end of file +>note As part of our `3.0.1` release we introduced the `Rebind` method to the component reference. This can make some of the approaches in this article obsolete, especially resetting the collection reference. +#end