Ticket Q581504
Visible to All Users
Duplicate

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

Preview doesnt respect MaxLineCount when property is RichEdit

DBTableView Preview with wrong height (number of rows visible)

created 11 years ago

I have a strange behaviour of a DBTableView with Previw section.
Some times it doesn't show all the rows, seems it doesn't calculate a correct rows to visualize with a particular width of the table, in particular miss the last row!

In the two screenshots you could see the difference. In the second one, I have only reduce the width (of the table ) of tree pixels and so, it is possible see the last row!

PS: I have not been able to reproduce the problem with a simple project

Show previous comments (1)

    MaxLineCount is set to 100!; I haven't event handlers on the grid (and view), I try to reproduce it but it doesn't seem sample

      I have biuld a simple example (with a simple firebird db).

      DevExpress Support Team 11 years ago

        Thank you very much for your demo.

        Answers approved by DevExpress Support

        created 11 years ago (modified 11 years ago)

        A similar problem has been already discussed in our Support Center. Please refer to the Preview doesnt respect MaxLineCount when property is RichEdit ticket for the information.

          Comments (3)

            So, I don't understand how I can preserve the layout of the view?

            DevExpress Support Team 11 years ago

              You can use one of the workarounds provided in the Preview doesnt respect MaxLineCount when property is RichEdit ticket. For example, using an unbound column and Memo properties (see the attached sample).

                Ok, so I have to give up the formatted text. I evaluate this solution
                Thanks for all.

                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.