Hello team,
hope you are well.
I have an urgent requirement. I am trying to have checkboxes in one of the dynamically generated columns. So I use the following code in the attached sample:
CheckBox check1 = new CheckBox();check1.IsChecked = true;
employee.SecondName = check1;
Employees.Add(employee);
But when I run the application I get a string value in the xamdatagrid cell instead of the actual checkbox. Please advise how to resolve this. Thank you.
Best regards,
Sherif
Hello Sherif,
Thank you for your post. I have been looking into I and the sample you have attached and I modified it, so now it works as you want. Basically I set the employee’s SecondName property to a Boolean value and set the Field’s EditorType to XamChakEditor. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.