Skip to content
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

Close body.expanded-row programmatically #684

Open
kmichek opened this issue Apr 18, 2019 · 1 comment
Open

Close body.expanded-row programmatically #684

kmichek opened this issue Apr 18, 2019 · 1 comment

Comments

@kmichek
Copy link

kmichek commented Apr 18, 2019

Hi, I use a form component to edit the line selected via body.expanded-row. Is there a way to close the expanded row from within the form component, please? Thank you.

@kmichek
Copy link
Author

kmichek commented Jun 24, 2019

Hi, solved this, not sure if correctly, but it works:
const self = this;
later((function() {
self.parentView.row.set('expanded', false);
}), 0);

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

No branches or pull requests

1 participant