Header designer, full of bugs

Posted by: silk on 8 September 2017, 1:58 pm EST

  • Posted 8 September 2017, 1:58 pm EST

    Each time I use the Spread Designer (Spread for WinForms 4, latest release 4.0.3510.2008) to edit the header design I stumble upon bug after bug and this time I thought I would give some feedback about this. These bugs have been there since day Spread 2-something at least. I don't know if you suggest I should be using it in another fashion but any pointers are appreciated.

    The problems start as soon as you are using more than one column header. Even more strange things occur as soon as you start spanning rows and columns in the headers. I can easily create some strange things and will list a few things. These following simple steps produce bugs most of the times, not always but almost always.

      Create a new spread on a winform

      Open the spread designer

      Add another column header

      Select 5 column headers, right click on the selection and click "Headers..."

      Type "One" in the first row and first column (0,0)

      Type "Two" in the second row and first column (1,0)

      Type "Three" in the first row and first column (0,1)

      Type "Four" in the first row and first column (1,1)

      Now click Apply and watch what happens in the Spread Designer (not the Header Editor)

      For me, most of the times, it will only write "Four" in the first row and first column (0,0). Nothing else happens.

    Don't get me started on all the problems there is when starting to change the fonts, column and row spanning, row height and other settings on the column cells :) You will definitely find a bunch if you only do some minor testing on this. There are ways to do work arounds on these problems but they are either very tedious since you need to update one value in one selected column cell at a time (which won't work if you have spanned cells). Another solution is to create all the code behind code by yourself or to generate what you need through code on form load or something similar.

    Do you have any updates when it comes to this or will I need to keep on using this... ehm, slightly faulty... interface? :)

    Regards,

    Johan

  • Replied 8 September 2017, 1:58 pm EST

    Hello Johan ,


    I am able to reproduce the issue described by you in Steps. There are two ways to change the Text in a Header cell using Header editor.


    1. Overwiting "" by clicking on the desired cell in Header Editor and replace with the text you want.Click Apply  and Ok.


    2.Click on the cell in Header Editor selected area , go to "Text" property in property window and set text you want.Move the focus to desired cell by clicking on it.Click apply and Ok to save the setting you made.  


    Where as I did test other problems reported by you and found that it works fine for Column and Row Spanning , Changing the Font and changing the Row Height also.Please provide some more information if I am missing something to reproduce the problems.


     


    Thanks,


     


     


     

  • Replied 8 September 2017, 1:58 pm EST

    DeepakSharma,

    Thank you for your response. I know there are those ways to make changes to the text of the header cell. I have been using the Spread since 2004 and I think it is a fantastic component but this is by far the worst implementation I have stumbled upon when it comes to the Spread unfortunately. My example was only to state that there are many very easily reproducable bugs which you will find if you only spend a few hours testing the Header Editor with multiple column headers. It might not be a that important part but whenever I need to use it I have different problems with it.

    The problem seems to be that the Header Editor can't seem to
    remember exactly where changes were made and what changes were made. As
    soon as you do some changes to some text, click apply and do it again,
    there is a big chance a bug will show up.

    The other parts I was mentioning about fonts and row height for example is quite easily reproduceable aswell. Will see if I have time to do some test cases for you next week but as I said, if you just play around a little there are several issues that causes quite some irritation here.

    One thing that you could test is if you create a new spread, set the spread to have 4 columns, add 2 column headers (3 column headers in total that is). Now enter Header Editor for all column headers, set column span at the top two rows to 4 cells and then change the row height on the middle row to something larger than the other top and bottom one. Edit the text with unique text in each header cell. Now click apply. You might have bugs here already. If not then exit Header Editor, enter Header Editor again for all the 4 headers, just click around on all the cells and you will see text starting to change, row height on the middle row will revert to what the other 2 rows had in height etc etc. And this only by clicking around on the different header cells!

  • Replied 8 September 2017, 1:58 pm EST

    Hello,


    I have reported this issue as a bug to our QA Team( Bug Number: 26494).It should fixed in our next maintenance release of Spread for Windows.


     


     


    Thanks,


     

Need extra support?

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

Learn More

Forum Channels