简体   繁体   English

要在 Clicked EditCommandTemplate DataGrid Blazorise 中呈现的多个函数

[英]Multiple functions to be render in Clicked EditCommandTemplate DataGrid Blazorise

on edit the bit should be true and also context.clicked should also work在编辑时,该位应该为真,并且 context.clicked 也应该有效

this is not working这是行不通的

Clicked="@(()=> OnEditBtn(context))" Clicked="@(()=> OnEditBtn(context))"

First of all, I am not quite sure what is your problem, you could try to expand on your question.首先,我不太确定你的问题是什么,你可以尝试扩展你的问题。

Secondly if your problem is not showing some component after changing variable, try to call StateHasChanged() to redraw component, if your OnEditBtn function is the bound function in <Button Clicked=@..., could be the issue.其次,如果您的问题是在更改变量后未显示某些组件,请尝试调用 StateHasChanged() 重绘组件,如果您的 OnEditBtn function 是 <Button Clicked=@... 中的绑定 function,则可能是问题所在。

But I am just guessing with what i have to work with.但我只是在猜测我必须与之合作的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM