Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table, Filter, Pagination components #5

Open
3 tasks
mkozhukharenko opened this issue Mar 22, 2016 · 0 comments
Open
3 tasks

Table, Filter, Pagination components #5

mkozhukharenko opened this issue Mar 22, 2016 · 0 comments

Comments

@mkozhukharenko
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant