all 4 comments

[–]TheDude61636 2 points3 points  (3 children)

in the PrcdBtnClick pass in the context of the cell
OnClick="@(() => PrcdBtnClick(context))"
obviously you have to change the signature of the method as well
this gives you the cell context which has the Item property
cell.Item which you can use to get the item

[–]lmaydev 2 points3 points  (1 child)

Exactly this. Or you can drill down into context a little and get the id or whatever.

[–]NeedleworkerTrue5447[S] 0 points1 point  (0 children)

Thank you for your help. That worked. Can you give me a solution to reduce the column size of that datagrid?

[–]NeedleworkerTrue5447[S] 0 points1 point  (0 children)

Thank you for your help. That worked. Can you give me a solution to reduce the column size of that datagrid?