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
875
Is it Possible to view a string "11111" as five images in wdg and edit them by webDropDown with 5 checkbox Entry's?
posted

HI,

I try to display a string "11111" as five different images in wdg by using the row_initialized Event. That is OK. Now i want to edit this string to e.g. "01011". Thinking of a webDropDown with five entries (checkbox) i would to construct this string, but i don't know how to create different Templates for showing and editing in a template-field.

Can someone give me a little advice?

Parents
  • 49378
    Verified Answer
    posted

    Hello Schnapper,

    Thank you for posting in the community.

    While only one template may be used per column in WebDataGrid, your requirement may be achievable by hiding the WebDropDown control in the template and making it visible upon a click on the templated cell. I am attaching a small sample illustrating a possible approach to tackle this scenario. Please note however that this is a custom implementation and is not related with the grid's EditingCore behaviors.

    Please let me know if this helps.

     

    WebDataGridTemplateChoosing.zip
Reply Children