BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Francis,
We are sorry for delay,
We have analyzed your query. When you want to get current
record from the button click event you have to convert DataContext as
GridDataCellBoundWrapper Class, from that you can get the Record and you have
to typecast with RecodEntry. Now you can able to get the current record. You can
also refer the below codesnippet.
Codesnippet[C#]:
private void cmdOpenUnit_Click(object
sender, RoutedEventArgs e) { var
data = ((Button)sender).DataContext as GridDataCellBoundWrapper; var
style = data.Record as RecordEntry; var
record = style.Data as Data; }
|
We have prepared a sample based on your requirement,
please find the attached sample below,
Please let us know if this helps you,
Regards,
Saravanan.M
Hi Francis,
Thanks for your update.
Regards,
Saravanan.M