Open tsatatwer opened 6 years ago
Thanks for submitting this, we will discuss this together with our team.
I would also love to see this feature in a future release.
Hi ,
any new about this issue .thanks
even no answer at all ??????.
Sorry we currently in RnD Mode with 2.2 features, we will add this directly to our repo backlog. https://github.com/GwtMaterialDesign/gwt-material/issues/842
On Sun, Oct 21, 2018 at 5:12 PM tsatatwer notifications@github.com wrote:
even no answer at all ??????.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GwtMaterialDesign/gwt-material-table/issues/129#issuecomment-431652034, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_iF8XMivg1ZH_2U3lxYKbz3ZLGKBLfks5unDqRgaJpZM4RNthV .
Glad to know that.
Hi any update on the issue???.Thanks
Again any update on the issue????
@kevzlou7979 Again any update on the issue? please comment.
@kevzlou7979 Again any update on the issue??????
I can see that release backlog is closed now, but this issue wasn't resolved, is that correct?
Something I am trying to use as workaround for time being (not tested properly, but should be NULL safe in case GMD changes):
table.addRowSelectHandler(rowSelectEvent -> {
log.finest("Trying to programmatically expand row: " + table.getRow(rowSelectEvent.getModel()));
table.getRow(rowSelectEvent.getModel()).getWidget().getChildrenList().stream()
.filter(rowChild -> rowChild.getElement().getId().compareTo("colex") == 0)
.peek(rowChild -> log.finest("Filtered child with ID 'colex': " + rowChild))
.findAny()
.filter(maybeTableData -> maybeTableData.asWidget() instanceof TableData)
.flatMap(tableData -> ((TableData) tableData.asWidget()).getChildrenList().stream()
.filter(expandColumnChild -> expandColumnChild.getElement().getId().compareTo("expand") == 0)
.peek(rowChild -> log.finest("Filtered child (icon tag) with ID 'expand': " + rowChild))
.filter(maybeIcon -> maybeIcon.asWidget() instanceof MaterialIcon)
.map(icon -> (MaterialIcon) icon)
.findAny())
.ifPresent(icon -> icon.$this().click());
});
GwtMaterialDesign/gwt-material#842
Implemented in this commit https://github.com/GwtMaterialDesign/gwt-material-table/commit/0e6cd0afacaefd9bf3e7542200c7a0d988622a04
Not in a snapshot yet, we will be discussing what release we will get this into today.
It is good feature to added to the gwt-material-table indeed...thanks
Agree this would be very nice. Thanks.
Any update on this enhancement it was a long time indeed since .Thanks
I have searched the API docs for a method to expand a table row programmatically but could not find any . If not supported this is maybe a wished new feature or an enhancement .
In my project the user choose some commands and these represented as table rows and send to server witch run these command(Table Rows) one by one and while these running the server send the running id of row to client witch then expand the running row and show live status .