Dynamic items in grid

EslamaliEslamali Member
edited March 2018 in Xamarin.Forms

How can I receive items from REST service as items dynamic in grid like add more rows dynamically to fit items in columns, load more items in the page, I just have a problem with how to do the grid, I can deal with REST but the layout it's the problem

Tagged:

Answers

  • AsfendYarAsfendYar USMember ✭✭

    You can create dynamic grid via custom controls and platform specific code but there're lot of things you've to kept in mind.
    1. In Grid there's no Load More Items Support.
    2. In Grid the performance is worst and no caching strategy out there.
    3. In Grid you've to handle the clicked event with pain.

    And if you still want to work with dynamic Grid controls then here is the link of nuget plugin that can solve your problem.
    https://github.com/akgulebubekir/Xamarin.Forms.DataGrid

  • EslamaliEslamali Member
    edited March 2018

    @AsfendYar said:
    You can create dynamic grid via custom controls and platform specific code but there're lot of things you've to kept in mind.
    1. In Grid there's no Load More Items Support.
    2. In Grid the performance is worst and no caching strategy out there.
    3. In Grid you've to handle the clicked event with pain.

    And if you still want to work with dynamic Grid controls then here is the link of nuget plugin that can solve your problem.

    I didn't know that, I thought it will be perfect for show items like grid, but what is the best thing I can do it like a grid? like in the screenshot

    us.v-cdn.net/5019960/uploads/editor/af/qlmtpz04foff

    add (.jpg) in the end of the link

Sign In or Register to comment.