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

    <P>Hi,</P>
    <P>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: </P>
    <P>"<STRONG>System.ArgumentOutOfRangeException</STRONG>: Non-negative number required."</P>
    <P>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.</P>
    <P>Thanks,<BR>Prem</P>
    2008/01/FPointTest.zip
  • Replied 8 September 2017, 12:59 pm EST

    Prem -<br><br>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.<br>
  • Replied 8 September 2017, 12:59 pm EST

    <P>I got the latest service release 03.00.2005. It fixed the problem. Thanks.</P>
    <P>Prem</P>
Need extra support?

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

Learn More

Forum Channels