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 component #554

Open
lpatiny opened this issue Sep 15, 2023 · 1 comment
Open

Table component #554

lpatiny opened this issue Sep 15, 2023 · 1 comment
Labels

Comments

@lpatiny
Copy link
Contributor

lpatiny commented Sep 15, 2023

<Table data {...prefs}>

I would need something similar to slick grid in which from preferences we can display selected columns in a defined format and:

  • there is a callback onHover row
  • there is a callback onClick row
  • we can add actions in the row
  • from preferences we can select the properties to display, the component to render it and the options to render it.

We could foreseen the possibility to edit a value.

image

data.json.zip

{
  columns: [
    {
       jpath: ['em'],
       renderer: Numeral,
       rendererOptions: {
         format: '0.0000'
       }
    },
    {
       jpath: ['ionization','mf'],
       renderer: 'MF'
    }
  ]
}
@lpatiny
Copy link
Contributor Author

lpatiny commented Sep 15, 2023

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

No branches or pull requests

1 participant