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
60
How to have a XamTextEditor that supports custom dropdown
posted

Hi,

I want to create a ValueEditor based on XamTextEditor or XamTextEditorBase that supports a calendar dropdown.    The reason that XamDateTimeEditor is useless to us , is that it requires some sort of mask and doesn't support non-datetime objects very well.

We would have expected that a creating a custom dropdown from a textbox editor would be out-of-the-box .  We would have expected something like an abstract ValueEditor class that we would subclass and which would have all the drop down logic in it that XamDateTimeEditor has access to.   Unfortunatly it seems that infragistics is hiding all the dropdown logic internally in XamTextEditor and TextEditorBase. 

So it seems we have to subclass ValueEditor and code all that logic ourselves?  Is there something that we are missing out-of-the-box?

 

 

 

 

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    If you have set the mask property of the XamDateTimeEditor and it does not contian only date time sections, the dropdown is coerced and hidden. We have recently logged an issue about this (32850) and we are working on it to allow non date time sections.

    The ValueEditor class only contains the implementation of the basic functionality of all the editors. You would either have to either extend the XamDateTimeEditor class or provide a dropdown functionality for the XamTextEditor.

Children
No Data