Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Render_button_checkbox_etc_in_a_grid_cell.md #336

Merged
merged 1 commit into from
Mar 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/blazor_server/Render_button_checkbox_etc_in_a_grid_cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ In this sample we name the component **ButtonCell.razor**:
public GridComponent<Order> GridComponent { get; set; }

[Parameter]
public Order Item { get; protected set; }
public Order Item { get; set; }

[Parameter]
public IList<Action<object>> Actions { get; protected set; }
Expand All @@ -87,7 +87,7 @@ In this sample we name the component **ButtonCell.razor**:
[Parameter]
public object Object { get; protected set; }

private void MyClickHandler(UIMouseEventArgs e)
private void MyClickHandler(MouseEventArgs e)
{
if (Actions == null)
{
Expand Down Expand Up @@ -120,7 +120,7 @@ In this sample we name the component **ButtonCell.razor**:

@code {
[Parameter]
public Order Item { get; protected set; }
public Order Item { get; set; }

private void CheckChanged()
{
Expand All @@ -139,12 +139,12 @@ In this sample we name the component **ButtonCell.razor**:

@code {
[Parameter]
public Order Item { get; protected set; }
public Order Item { get; set; }

private void MyClickHandler(UIMouseEventArgs e)
private void MyClickHandler(MouseEventArgs e)
{
Console.WriteLine("Button clicked: /Home/Edit/" + Item.OrderID);
}
}
```
[<- Data annotations](Data_annotations.md) | [Subgrids ->](Subgrids.md)
[<- Data annotations](Data_annotations.md) | [Subgrids ->](Subgrids.md)