Skip to content

docs(Grid): add docs for new row position feature #3096

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 1 commit into
base: master
Choose a base branch
from

Conversation

Tsvetomir-Hr
Copy link
Contributor

@Tsvetomir-Hr Tsvetomir-Hr self-assigned this Jul 10, 2025
@Tsvetomir-Hr Tsvetomir-Hr requested review from a team as code owners July 10, 2025 11:31

The `NewRowPosition` parameter accepts values from the `GanttTreeListNewRowPosition` enum:

- `Top` (default) — Inserts the new item at the top of the view.
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally, it's recommended to use the mdash without spaces around it.


> When you set `NewRowPosition` to `Bottom`, add the new item at the end of your data collection in the `OnCreate` event handler. When set to `Top`, insert the new item at the beginning of the collection. This ensures the new row appears in the correct position in the view after successfully creating the new record.

>caption Example of adding a new item based on the `NewRowPosition` value:
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe your team avoids placing ending punctuation for captions.


> When you set `NewRowPosition` to `Bottom`, add the new item at the end of your data collection in the `OnCreate` event handler. When set to `Top`, insert the new item at the beginning of the collection. This ensures the new row appears in the correct position in the view after successfully creating the new record.

>caption Example of adding a new item based on the `NewRowPosition` value:
Copy link
Contributor

Choose a reason for hiding this comment

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

Since these captions have become mostly identical, for SEO&LLM purposes, I recommend adding the component to the caption. For example Example of adding a new item to the TreeList based on the NewRowPosition value. Apply as needed to all similar captions.

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