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

Add methods to operate and get component rendered on DetailsRow in GridTester #1875

Open
TatuLund opened this issue Mar 6, 2025 · 0 comments

Comments

@TatuLund
Copy link
Contributor

TatuLund commented Mar 6, 2025

There is a method to get cell component like below.

$(Button.class, test(grid).getCellComponent(0, 5)).first().click();

But there is no method to get details row content,

E.g. it could be like:

var detailsComponent = test(grid).getDetailsComponent(0)).first();

The above would return component rendered for details row linked to first row if it is open. If it is closed it would throw e.g. IllegalStateException.

Also it would be useful to have:

var detailsOpen = test(grid).isDetailsOpen(0);

The above would return true if the details row is open.

Doing click on Grid cell should open details as a side effect if grid.setDetailsVisibleOnClick(true) is used.

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