Nothing Special   »   [go: up one dir, main page]

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

Question/Feature Request: Cell to be vertically or horizontally split into more small cells #167

Open
FlyingDutchmanLQY opened this issue Apr 29, 2024 · 3 comments

Comments

@FlyingDutchmanLQY
Copy link

Hello!
Can a cell be split vertically or horizontally into more small cells?
Or multiple cells merged into big one like excel does?

something like below
image

@vandeseer
Copy link
Owner

Hi,

Yes, you can merge cells. Please check the examples, there you can also find some code for it.

Theoretically you can also create tables within single cells, but I wouldn't necessarily recommend that approach.

Best
Stefan

@FlyingDutchmanLQY
Copy link
Author

Sorry, bad English. Didn't fully understand the meaning of 'span'.
The example is great. But with regard to merge, can I merge cells after all the cells and rows being added, which means after the table builder finishes building.
I have to add cells and rows in a loop and after that merge some of the cells.

@vandeseer
Copy link
Owner

No, that doesn't work. It also would render the builder useless. You would need to keep track of the cells to be merged before building.

Best,
Stefan

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

No branches or pull requests

2 participants