Ticket Q203244
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

RetrieveFields() - type --> editor mapping

Datalayoutcontrols change default editors

created 16 years ago

Dear Sirs,
I would like to know if there is a way to change the default editors for a DataLayoutControl in runtime. What I mean is that for example we have integer fields in our db but we want the editors to be TextEdit and not the default SpinEdit is that possible in runtime ? I have seen an example of changing the textedit to a memoedit but this is not what we need. We need to change the default editor and not to change the editor after it has been created.
Thank you in advance

Show previous comments (4)
DevExpress Support Team 16 years ago

    Hi,
    I've attached my sample. Let me know if you need further assistance
    Thank you, Marina

    MA MA
    Manolis Anestopoulos 16 years ago

      Dear Marina,
      First of all sorry for the dalay. Second thank you very much for your time and example …this was what I needed.

      MA MA
      Manolis Anestopoulos 16 years ago

        solved

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.