Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<EjsGrid @ref=defaultGrid DataSource=@gridData RowSelected="rowselect" AllowSelection="true">
……………………………………….
</EjsGrid>
public List<DOM> Temp { get; set; }
public List<Orders> order = new List<Orders>();
public void rowselect(RowSelectEventArgs args)
{
this.Temp.Add(args.Row);
} |
public void GetRows()
{
var temp = this.defaultGrid.GetSelectedRecords(); // return the details of selceted record
temp.GetAwaiter().OnCompleted(() =>
{
this.Temp = temp.Result; // here you can get the selected row datas in form list of objects.
this.Invoke(this.StateHasChanged);
});
} |