Gridrefresh when not in focus - blank view

Posted by: kp on 31 August 2020, 10:33 pm EST

    • Post Options:
    • Link

    Posted 31 August 2020, 10:33 pm EST - Updated 30 September 2022, 12:22 am EST

    Our grid solution uses a module for entering data, this module is on iPad shown as a view on the mainview along the grid, but on iPhone that view presentation doesn’t work and causes an error, so we push the module as a new viewcontroller. Upon returning to the grid after doing the update the grid will be blank depending on how far to the side it has been scrolled before editting. It will however fix itself if you touch the gridview.

    code for presenting the module:

    if (appname.iPad == true)

    {

    cNumericPad.PreferredContentSize = new CGSize(330, 9 * 43);

    m_cPopOver = new UIPopoverController(cNumericPad);

    _cPopOver.DidDismiss += PopOverDidDismiss;

    m_cPopOver.PresentFromRect(cCell.Frame, this.Superview, UIPopoverArrowDirection.Any, true);

    }

    else

    {

    cNumericPad.PreferredContentSize = new CGSize(UIScreen.MainScreen.Bounds.Width, UIScreen.MainScreen.Bounds.Height);

    appname.NavigationController.PushViewController(cNumericPad, true);

    }

    Is it possible to force the gridview to reload(refresh should already be called but it seems like it doesn’t affect the

  • Posted 31 August 2020, 10:38 pm EST

    As an add-on, it doesn’t even seem like changes have to be made for the issue to occur, as soon as I push the next view, it’s like the grid tries to reset it’s position without rebuilding the cells that had been moved outside the view from scrolling.

  • Posted 2 September 2020, 1:04 am EST

    HI KP,

    This is a known issue and our developer team is working on it with internal tracking id : 459013. I will update you as soon as I get any information from them.

    Please let me know if you need any other help.

    Thanks

  • Posted 4 October 2020, 3:21 pm EST

    Hi KP,

    We are glad to inform you that the issue has been fixed in 2020V2 hotfix build C1Xamarin_4.6.20202.477, you can get it from the nuget.org.

    Please let me know if you need any other help.

    Thanks

Need extra support?

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

Learn More

Forum Channels