简体   繁体   中英

GWT cellTable - new row handler?

I want to change some fields every time my cellTable content changes (new row, row change). Is there any predefined event/handler for that?

See if addRangeChangeHandler or addRowCountChangeHandler in HasRows meet your needs.

If by "row change" you mean a change in selected row(s), you can use SelectionChangeHandler attached to a SelectionModel.

Otherwise, you can simply call whatever method you need when you add a row or update a data provider.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM