Skip to content

Table, Filter, Pagination components #5

@mkozhukharenko

Description

@mkozhukharenko

Table, Filter, Pagination components

This story can be splitted into three parts:

  • Table component
  • Pagination components
  • Filter component

All of this part can be done separately. This is true for table component. (I'm sure)

Table component

  • It must receive as a props a
    • data (list of entries (e.g. enrolment list)
    • config for header
  • There also should be a possibility to show/hide a column.

schema for header can be found here

show/hide columns

  • It must be reusable (could be applied to any entiry)

After this SIRTING (orderBy) need to be implemented

Filter component

  • It must receive as a props
    • options for filters
    • function that will dispath action type FILTER CHANGED

Pagination components

  • It must receive as a props
    • count of entries
    • items per page
  • function that will send an action:
{ type: "PAGE_CHANGED", payload: {count, currentPage }

pagin

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions