Skip to content

Commit edc1392

Browse files
docs(grid): kb for upgrading between 0.5 and 1.0
1 parent 7289a36 commit edc1392

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Upgrade grid from 0.5.0 to 1.0.0
3+
description: Handle the changes in the grid API between the 0.5.0 pre-release and the first official 1.0.0 version.
4+
type: how-to
5+
page_title: Upgrade grid from 0.5.0 to 1.0.0
6+
slug: grid-update-from-0-5-to-1-0
7+
position:
8+
tags:
9+
ticketid:
10+
res_type: kb
11+
---
12+
13+
There are some changes in the events and API of the Telerik Blazor Grid component between the 0.5.0 pre-release version and the 1.0.0 official version. We made them in order to provide better functionality, consistency and semantics of the way the component works.
14+
15+
Here is a list of the changes:
16+
17+
* The `Create` command is now called `Add`.
18+
* The `Update` command is now called `Save`.
19+
* The `OnCreate` event is now fired when a newly inserted item is saved. Previously, it was fired when the Add button was clicked.
20+
* The `OnUpdate` event does not fire for newly inserted items, they are now to be handled through the `OnCreate` event.
21+
* After any of the CUD operations, the data source will be read anew to ensure fresh data is fetched.
22+
23+
You can find more details (and samples) on the current way the grid operates in the following articles:
24+
25+
* [grid editing overview]({%slug components/grid/editing/overview%})
26+
* [grid command buttons]({%slug components/grid/columns/command%})
27+
* [grid toolbar]({%slug components/grid/features/toolbar%})

0 commit comments

Comments
 (0)