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/Datalist component #156

Open
smcgrath0 opened this issue Aug 25, 2020 · 1 comment · May be fixed by #162
Open

Table/Datalist component #156

smcgrath0 opened this issue Aug 25, 2020 · 1 comment · May be fixed by #162
Labels
enhancement New feature or request

Comments

@smcgrath0
Copy link
Collaborator

smcgrath0 commented Aug 25, 2020

Please describe the problem.
There is currently no table component in Peregrine.

Describe the solution you'd like
This component should have dialog to name column headings and choose what data from the model will go in that column, each row would represent one record.

Also these options should be in the dialog

  • striped table
  • fixed header
  • customize border around cells
  • dense table ( less spacing )
  • scrollable table
  • place for a table caption and where to put relative to the table
  • selectable table

Additional context

regular with caption ex.
Screen Shot 2020-08-25 at 12 54 04 PM

dense ex.
Screen Shot 2020-08-25 at 12 53 25 PM

Striped table ex.
Screen Shot 2020-08-25 at 12 49 59 PM

scrollable table and fixed header ex.
Screen Shot 2020-08-25 at 12 51 26 PM

selectable table ex.
Screen Shot 2020-08-31 at 11 40 56 AM

@smcgrath0 smcgrath0 added the enhancement New feature or request label Aug 25, 2020
smcgrath0 added a commit that referenced this issue Aug 25, 2020
smcgrath0 added a commit that referenced this issue Aug 26, 2020
qial added a commit to qial/themeclean-flex that referenced this issue Aug 26, 2020
qial added a commit to qial/themeclean-flex that referenced this issue Aug 26, 2020
qial added a commit that referenced this issue Aug 26, 2020
@qial
Copy link
Collaborator

qial commented Aug 27, 2020

I'm pushing the base version of table formation from the dialog. This is set up using "firstName" and "lastName" as the column headers and values. I'm seeing an issue with the column headers just showing up underneath eachother. I suspect it has something to do with the fact that I just added a loop on the <th> element without doing anything else.

image

The local storage I used for the picture is localStorage.setItem('list','[{"firstName":"Kyle","lastName":"Watson"},{"firstName":"Shane","lastName":"Mcgrath"}]');

qial added a commit that referenced this issue Aug 27, 2020
smcgrath0 added a commit that referenced this issue Aug 27, 2020
qial added a commit that referenced this issue Aug 27, 2020
smcgrath0 added a commit that referenced this issue Aug 31, 2020
smcgrath0 added a commit that referenced this issue Aug 31, 2020
smcgrath0 added a commit that referenced this issue Aug 31, 2020
qial added a commit that referenced this issue Aug 31, 2020
smcgrath0 added a commit that referenced this issue Sep 1, 2020
smcgrath0 added a commit that referenced this issue Sep 1, 2020
qial added a commit that referenced this issue Sep 2, 2020
smcgrath0 added a commit that referenced this issue Sep 3, 2020
smcgrath0 added a commit that referenced this issue Sep 3, 2020
smcgrath0 added a commit that referenced this issue Sep 4, 2020
qial added a commit that referenced this issue Sep 4, 2020
qial added a commit that referenced this issue Sep 4, 2020
@qial qial linked a pull request Sep 5, 2020 that will close this issue
@qial qial linked a pull request Sep 5, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants