I'm using a Java Enterprise Application based on the OpenSwing framework . I'm using the GridControl
component to show a set of so called value objects, where the fields are mapped into columns.
After that data have been loaded from a list of value objects, how can I edit the content of a cell to change the value shown to the user?
Very simple!
int rowNumber = ....;
int colNumber = ....;
this.getTable().getGrid().setValueAt("HERE THE VALUE", rowNumber, colNumber);
where this
is an instance of the GridControl
class.
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.