简体   繁体   中英

how to change the display value in a cell (gridtable) in gwt

without touching the value of the list or using field updater, how can you to change the value of a cell in the datagrid.

i have found myDataGrid.getColumn(0).getCell().setValue(context, parent, value); but I dont know what context and parent is

you can change the bean's property value which is used with datagrid, then do refresh row. that will update cell also.

table.redrawRow(absRowIndex);

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