Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145591 | Jun 30,2019 12:49 AM UTC | Jul 2,2019 12:51 PM UTC | Blazor | 3 |
![]() |
Tags: Grid |
<EjsButton ID="Clk" @onclick="@clk">Click</EjsButton>
<EjsGrid id="Grid" @ref="grid" AllowPaging="true" AllowSelection="true" DataSource="@data">
<GridSelectionSettings Type="@SelectionType.Multiple"></GridSelectionSettings>
<GridColumns>
……………………………………….
</GridColumns>
</EjsGrid>
…………………………
private async void clk()
{
var a = await grid.GetSelectedRecords();
//serialize the JSON objects using its model class.
List<Orders> result = JsonConvert.DeserializeObject<List<Orders>>(JsonConvert.SerializeObject(a));
} |
|
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.