Not focused some cell related on ActiveSheet.SetRowVisible method

Posted by: 2006-03-03-121549-300 on 8 September 2017, 1:48 pm EST

  • Posted 8 September 2017, 1:48 pm EST

    Hello.


    I'm using VS2005(latest SP) and FarPoint Spread v4.0.2009.2005. 


    I don't know whether this is a bug or something by-degin.


     


    I have some example data, it has only 68 rows.


    First cell of each row indicated group name.


    First group name is "A" and first group has 21 rows.


    Second group name is "B" and it has 33 rows.


    Third group name is "C" and it has 14 rows.


     


    I create a new spread as fsdList on control, and added to my data for each record.


    And I initialize only first group is visible true.


    After then whenever user chooses one group, I would like to show only rows of selected group.


    So, I coeded below.


    ====================================================================


    for (int r = 0; r < fsdList.ActiveSheet.Rows.Count; r++)
    {
        if (fsdList.ActiveSheet.Cells[r, 0].Text == SelectedGroupName)
        {
            fsdList.ActiveSheet.SetRowVisible(r, true);
        }
        else
         {
             fsdList.ActiveSheet.SetRowVisible(r, false);
        }
    }


    These codes works well when I clicked for editing some row under 21(this number is the number of first group and set visible true at first.) of other group("B" or "C").


    But, when I clicked some row over 21,then the focus return to 21.


    So I couldn't edit some cells over 21 because the focus of cell return to the last cell of first group.


    I meet this problem after upgraded to FarPoint Spread v4.0.2009.2005, I've never seen before.


    Please let me know what do I do to solve this problem.

  • Replied 8 September 2017, 1:48 pm EST

    Hello,

    Regarding your query, could you please send across a smaple project to de-bug the reported issue at our side? Any additional information would be higly appreciated.

    Thanks

  • Replied 8 September 2017, 1:48 pm EST

    Hello,


    This is a known bug in the current version with hiding rows. This will be fixed in the next maintenance release we should be having soon.

  • Replied 8 September 2017, 1:48 pm EST

    Would you let me know when can I meet your release version which fix the bug?


    I want to meet ASAP.


     

  • Replied 8 September 2017, 1:48 pm EST

    Would you let me know whether the bug is fixed or not?


    Thanks again.

  • Replied 8 September 2017, 1:48 pm EST

    Hello,


    The bug will be fixed in the next maintenance release. We are working to release this maintenance later today.

Need extra support?

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

Learn More

Forum Channels