-
Notifications
You must be signed in to change notification settings - Fork 87
feat: add hasChildren property to grid row model #9956
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
Conversation
There was a problem hiding this 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:
web-components/packages/grid/src/vaadin-grid.js
Lines 87 to 90 in f5aa748
* The following properties are available in the `model` argument: | |
* | |
* Property name | Type | Description | |
* --------------|------|------------ |
Thanks, done. |
de7ad44
to
e6656fe
Compare
|
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 passingchildren
as a separate Lit renderer property inaddHierarchyColumn
and usemodel.hasChildren
instead. This will in turn prevent the transmission of duplicate information and slightly reduce network trafficType of change