True DBGrid word wrap problem

Posted by: bill on 28 March 2018, 9:02 pm EST

  • Posted 28 March 2018, 9:02 pm EST

    Word wrap does not seem to work in a cell until the it enters edit mode. This is a problem as the users can’t see the full content of the cell when they peruse the Grid.

    When the user double clicks in a cell to enter edit mode, word wrap kicks in. After exiting edit mode, word wrap is disabled.

    Is there a solution to this issue?

  • Posted 29 March 2018, 1:51 am EST

    Update:

    When I use .style.wraptext=true, instead of the .wrap=true, word wrap works fine. I get a warning that WrapText is obsolete, and to use .wrap instead.

    Hopefully, this bug will be fixed soon.

  • Posted 29 March 2018, 2:37 am EST

    Hello,

    Please note that “Wrap” is not a boolean type property. Use the following line of code:

    
    .Style.Wrap = TextWrapping.Wrap
    
    

    Also, refer the following link:

    http://help.grapecity.com/componentone/NetHelp/c1truedbgrid/webframe.html#C1.Win.C1TrueDBGrid.4~C1.Win.C1TrueDBGrid.Style~Wrap.html

    Hope it clarifies.

    Thanks,

    Mohit

  • Posted 29 March 2018, 1:49 pm EST

    Thank you very much. That solves it.

    By the way, part of my confusion (besides not knowing what I am doing!) is because of this:

    http://help.grapecity.com/componentone/NetHelp/c1truedbgrid/webframe.html#enablingwordwrapince.html

  • Posted 2 April 2018, 4:39 am EST

    Hello!

    Thanks Bill, for reporting this issue. I have escalated this to the concerned team.

    Best regards,

    Meenakshi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels