Problem moving columns using the MoveColumn method

Posted by: gprem on 8 September 2017, 12:59 pm EST

  • Posted 8 September 2017, 12:59 pm EST

    Hi,


    I have a sheet with 32 columns (some of which are added during runtime) with different cell types. When I try to move a column at index 31 to index 28, Farpoint throws  the following error:


    "System.ArgumentOutOfRangeException: Non-negative number required."


    However if all the columns are converted to Text cell type columns, the code works. Could you confirm if this is a bug and what could be a possible workaround.. I have attached a sample project illustrating this issue.


    Thanks,
    Prem


    2008/01/FPointTest.zip
  • Replied 8 September 2017, 12:59 pm EST

    Prem -

    I am not able to reproduce this with the project you attached.  I can move any of the last columns and never receive an exception.  This sounds similiar to a bug that was in an earlier version.  Make sure you have the latest maintenance release.
  • Replied 8 September 2017, 12:59 pm EST

    I got the latest service release 03.00.2005. It fixed the problem. Thanks.


    Prem

Need extra support?

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

Learn More

Forum Channels