Multiline with No Row Headers

Posted by: hc on 8 September 2017, 1:35 pm EST

  • Posted 8 September 2017, 1:35 pm EST

    I have the string "TEST\r\nTEST2".

    The row header of the spread visibility is set to false.

    How can I resize the row height to show the multilines?

  • Replied 8 September 2017, 1:35 pm EST

    If the row header is invisible why would you need to set the height of it?
  • Replied 8 September 2017, 1:35 pm EST

    Hello,


    In addition to what Bob stated, there is not a way in the GUI for the user to change the height of a row if the RowHeaders are not visible. You would need to programatically size the row in this case.

  • Replied 8 September 2017, 1:35 pm EST

    ok, i show the row headers. but when I getPreferredRowHeight, it only shows the first line "TEST".  I tried with multiple lines but it is always the last line that gets hidden. I am using version 2 of farpoint spread.
  • Replied 8 September 2017, 1:35 pm EST

    Hello,


    Are you setting the height of the row to the value returned from GetPrefferedRowHeight? Make sure you are using the latest release for Spread for Windows Forms version 2. If you are, could you post a small zipped project reproducing the behavior you are seeing for us to debug?

Need extra support?

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

Learn More

Forum Channels