Pagenated editable grid

Certified Senior Developer

I have to create a pagenated editable grid . But editable grid(a!gridLayout) don't have pagingInfo as we use in a!gridField() and as per the requirement editable grid should have pagenation working  in the same way as paging grid have

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi you need to build a section which will contain rich text Field having next (>, >> ) and previous (<, <<) option as a link and upon clicking you need to increase or decrease the paging and pass this paging to the child interface which queries the data from DB and renders the editable grid. But you need to make sure to store the updated values into the variable based on index, as it's an editable grid hence user might try to perform create, update or delete operation as well.

    Also, for sorting, you can define a dropdown on (having values as various sorting field name) upon selection, update the sortInfo of the pagingInfo

    In this way you will be able to work with editable grid with paging and sorting.

    Hope this helps.
Reply
  • 0
    Certified Lead Developer
    Hi you need to build a section which will contain rich text Field having next (>, >> ) and previous (<, <<) option as a link and upon clicking you need to increase or decrease the paging and pass this paging to the child interface which queries the data from DB and renders the editable grid. But you need to make sure to store the updated values into the variable based on index, as it's an editable grid hence user might try to perform create, update or delete operation as well.

    Also, for sorting, you can define a dropdown on (having values as various sorting field name) upon selection, update the sortInfo of the pagingInfo

    In this way you will be able to work with editable grid with paging and sorting.

    Hope this helps.
Children
No Data