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

Add a table #5

Open
RossComputerGuy opened this issue Dec 4, 2018 · 3 comments
Open

Add a table #5

RossComputerGuy opened this issue Dec 4, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@RossComputerGuy
Copy link

Having a dedicated table component would be nice.

@andersevenrud andersevenrud added the enhancement New feature or request label Dec 4, 2018
@andersevenrud andersevenrud self-assigned this Dec 4, 2018
@andersevenrud
Copy link
Member

os js table

I think it will be something like this.

Example usage in this case:

            h(Table, {
              box: {
                grow: 1
              },
              zebra: true,
              columns: ['a', 'b', 'c'],
              rows: [
                ['1', '2', '3'],
                ['1', '2', '3'],
                ['1', '2', '3'],
                ['1', '2', '3'],
                ['1', '2', '3'],
                ['1', '2', '3'],
                ['1', '2', '3']
              ],
              footer: ['x', 'y', 'z']
            })

@RossComputerGuy
Copy link
Author

RossComputerGuy commented Dec 4, 2018 via email

@andersevenrud
Copy link
Member

Sure, that could be added.

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

No branches or pull requests

2 participants