Skip to content

Conversation

@mp9007
Copy link
Contributor

@mp9007 mp9007 commented Jan 25, 2022

Setting the CSS class "no-children" was inverted.

I was having a "null" issue because the row didn't have childs. The error was style showing if I clicked on the cell after hidding the expand icon.
To fix this, I added a CSS class to set the visibility of the .k-hierarchy-cell to "hidden" so the click is not triggered when clicking in the cell.

Setting the CSS class "no-children" was inverted.

I was having a "null" issue because the row didn't have childs. The error was style showing if I clicked on the cell after hidding the expand icon.
To fix this, I added a CSS class to set the visibility of the .k-hierarchy-cell to "hidden" so the click is not triggered when clicking in the cell.
@ntacheva ntacheva self-requested a review January 28, 2022 15:52
@ntacheva
Copy link
Contributor

Hi @mp9007,

Thank you for your feedback! The CSS class "no-children" was indeed inverted, so we fixed that. As for hiding the cells that do not have expand icons - this could break the layout, so we consider a safer approach would be to stop the pointer events of these cells. I have already submitted a PR with both of the changes, so I am hereby closing the current one.

@ntacheva ntacheva closed this Jan 28, 2022
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