Pull to refresh Maui Flexgrid

Posted by: l.balazs on 9 February 2023, 3:22 pm EST

    • Post Options:
    • Link

    Posted 9 February 2023, 3:22 pm EST

    After loading and grouping 200 simple items to FlexGrid the collapsing and expanding groups takes more than 4 seconds in debug mode using Emulator. Release mode is not much faster.

    So I decided to load say 25 items at a time and when user scrolls to th end if the list I load the next 25 items.

    I found the “On demand” example in FlexGridExplorer sample app, but with 30++ years practice I could not follow your programmers. The app is almost uncommented.

    Can somebody explain:

    1. How to enable the Pool to Refresh mode in Maui FlexGrid?
    2. How to implement loading more items to Maui GlexGrid when user fires the event which happens when the user reaches th first or last element during scrolling.

      Note: The “Documentation” mentions the “Virtual Mode” in Features, but it unfortunately does not explain how to do that.

      Thanks,

      Louis
  • Posted 10 February 2023, 7:37 am EST

    Hi,

    1. To achieve this requirement, you can set AllowRefreshing property of FlexGrid to True

    2. Could you please provide some more details? As we are unclear about your requirement. You can refer “On Demand” sample for the same. If you have any issues while implementing, then please ask here.

    Regards,

    Nitin

  • Posted 14 February 2023, 1:39 pm EST

    Hi Nitin,

    Thanks,

    Setting AllowResfreshing = true and using the C1 OnDemand example solved my problem, but it is not clear how it works. There is a C1CursorDataCollection class which probably does the magic behind the curtain, but it is not documented nor explained.

    Also, pull to refresh function works but it does not show the ActivityIndicator while it is refreshing…

    Best regards

    Louis

  • Posted 16 February 2023, 8:24 am EST

    Hi,

    Apologize for the delay.

    We are discussing this with the development team. Will get back to you once we have any updates.[Internal Tracking Id - C1XAML-31208]

    Regards,

    Nitin

  • Posted 27 April 2023, 6:26 am EST

    Hi,

    We are happy to inform you that this issue is fixed. You can check with the latest C1 build. You can download it from here: https://www.grapecity.com/componentone/download.

    Best Regards,

    Nitin

  • Posted 2 May 2023, 11:31 am EST

    Thanks Nitin but meanwhile we closed the project.

    Thanks anyway.

    Best regards,

    Louis

  • Posted 19 July 2023, 11:50 am EST

    Frequently used in mobile applications, the pull to refresh user interface functionality enables users to update material in response to a motion. With regard to the Maui Flexgrid, this feature enables users to update the displayed data simply pushing down on the grid, offering a smooth and simple data editing experience.

Need extra support?

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

Learn More

Forum Channels