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

Working with multiple cells without a notebook #245

Open
sok82 opened this issue Jun 14, 2024 · 0 comments
Open

Working with multiple cells without a notebook #245

sok82 opened this issue Jun 14, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@sok82
Copy link
Contributor

sok82 commented Jun 14, 2024

Problem

I'm working on an app that must enable user to add, change and remove cells and certainly give him a chance to write and execute code in these cells. But I don't need full-scale notebook with all it's functions.
Is this possible with datalayer components?

Can you please provide some example of how can I work with multiple cells

  1. Add cell
  2. Remove cell
  3. Execute code in selected cell
  4. Execute code from a number of cells
  5. Reacting on cell events (input, selection, code execution etc.)
  6. Styling cells (I suppose CSS rules would be enough)

The only thing that I had found in examples is the example with one single Cell component here

But it's unclear how to work with multiple cells.
For example when I add more than one cell I have following issues with an example

  1. Run action in toolbar doesn't seem to work
  2. Shit+Tab action also doesn't work with the second and following cells

Suggested Improvement

  1. Include an example on how to interact with multiple cells
  2. Include some description of props \ events for components
@sok82 sok82 added the documentation Improvements or additions to documentation label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant