Skip to content

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Aug 8, 2025

Description

Adds a new hasChildren property to the grid row model, indicating whether the row has children. Having this property in the row model will allow Flow TreeGrid to stop passing children as a separate Lit renderer property in addHierarchyColumn and use model.hasChildren instead. This will in turn prevent the transmission of duplicate information and slightly reduce network traffic

Type of change

  • Feature

@vursen vursen changed the title feat: add expandable property to row model feat: add expandable state to row model Aug 8, 2025
@vursen vursen changed the title feat: add expandable state to row model feat: add expandable state to grid row model Aug 8, 2025
Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

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

Let's also add new property to this table in .js and .d.ts files:

* The following properties are available in the `model` argument:
*
* Property name | Type | Description
* --------------|------|------------

@vursen vursen changed the title feat: add expandable state to grid row model feat: add hasChildren property to grid row model Aug 11, 2025
@vursen
Copy link
Contributor Author

vursen commented Aug 11, 2025

Let's also add new property to this table in .js and .d.ts files:

Thanks, done.

@vursen vursen force-pushed the add-expandable-property-to-row-model branch from de7ad44 to e6656fe Compare August 11, 2025 09:24
Copy link

@web-padawan web-padawan removed the request for review from ugur-vaadin August 12, 2025 06:33
@vursen vursen merged commit a47e6ed into main Aug 12, 2025
10 of 12 checks passed
@vursen vursen deleted the add-expandable-property-to-row-model branch August 12, 2025 06:33
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.

3 participants