Skip to content

[add] docs updates for v5.2 #23

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

[add] docs updates for v5.2 #23

wants to merge 27 commits into from

Conversation

mafanya23
Copy link
Contributor

No description provided.

mafanya23 added 22 commits May 6, 2025 16:33
[add] what's new and migration guide for v5.2, afterDataLoaded event page
[add] docs on freezing/unfreezing rows and columns functionality
[add] hiding/showing cols/rows api, update related guides
[add] styled cells borders section into user guide, update related docs
[update] add sections for popup with formula description into related guides
@mafanya23 mafanya23 requested review from 75ta and Izobov May 15, 2025 14:13
@mafanya23 mafanya23 self-assigned this May 15, 2025
### Usage

~~~jsx
afterColumnAdd: (cell: string) => void;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо тут поменять. Вроде про afterDataLoaded говорим

}
});
~~~

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я бы тут и в месте про работу со строками\колонками добавил, что зафиксировать колонки можно через dataset

const dataset = {
  sheets: [
    { data: [...], freeze: {col: 1, row,1} },
    ...
   ]

Такой способ позволяет зафиксировать колонки строки еще на уровне parse без вызовов методов

@@ -69,6 +69,94 @@ To change the column width so that it would automatically adjust to the longest
spreadsheet.fitColumn("G2");
~~~

## Freezing/unfreezing rows and columns

You may need to fix (or "freeze") some columns or rows, so that they will become static when you scroll the page, while the rest of columns/rows remain movable.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вот тут еще можно рассказать что фиксировать можно через dataset

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

Successfully merging this pull request may close these issues.

2 participants