Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Button inside a xamGrid Cell only on edit mode
posted

Hello,

I read this post about a button inside a xamDataGrid cell and wanted to adapt it for a xamGrid. I managed to get the button and textbox displayed when the cell receives the focus but the textbox is not editable. Does anybody know what I'm doing wrong?

I have attached a sample project, that is based on the sample of the forementioned post. The first grid is a xamDataGrid that is function correctly. The second grid is a xamGrid where I tried to copy the behavior of the column "Condition" of the first grid to column "Description" of the second grid.

Any advise will be appreciated.

With regards,

Remko Pleijsier

XamDataGrid_Searc.zip
Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Remko,

    Thank you for your post. I have been looking into it and the sample you have sent and I modified it, so now it works as you want. Basically I used TempalteColumn instead of TextColumn and set its ItemTempalte and EditorTemplate and in the EditorTemplate I put the Button and the TextBox. Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.

    XamDataGrid_Searc.zip
Children