Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150809 | Jan 21,2020 01:23 AM UTC | Jan 21,2020 06:40 AM UTC | Blazor | 1 |
![]() |
Tags: Grid |
<EjsGrid DataSource="@Employees">
<GridColumns>
<GridColumn Field="FirstName" HeaderText="Employee Name" TextAlign="TextAlign.Center" Width="120">
<Template>
@{
<span @onclick="Clicked">@(context as EmployeeData).FirstName</span>
}
</Template>
</GridColumn>
. . . . . .. . .
</GridColumns>
</EjsGrid>
@code{
public List<EmployeeData> Employees { get; set; }
public void Clicked(MouseEventArgs Args)
{
// perform your action here, open a dialog here
} |
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.