you have to define fieldUpdaters for each of your cell. You can do this
as part of initializing the CellTable. So as an when you update a cell,
it would automatically update the corresponding record in the backinglist
~Ashwin
On Monday 08 August 2011 11:18 AM, vaibhav bhalke wrote:
Hi,
GWT CELLTABLE:How to get Updated DataProviderList after changes in any
cell value ?
Class RecordInfo{
boolean isCellUpdated;
String oldValue;
String newValue;
// getters and setters ...
}
/**
* The provider that holds the list of RecordInfo .
*/
private ListDataProvider<RecordInfo> dataProvider = new
ListDataProvider<RecordInfo>();
private void generateRecords( ) {
List<RecordInfo> recordList = dataProvider.getList();
recordList = XmlDemo.parseXML(originalRecordList);
}
After generation of recordList / DataProviderList. I am putting my
recordList in celltable.
If I changes any value in cell then How to get my updated _RecordList
/ DataProviderList_ .
I want updated RecordList / DataProviderList because I want to
generate xml from updated List.
--
Best Regards,
Vaibhav Bhalke
About me : http://about.me/vaibhavbhalke
--
You received this message because you are subscribed to the Google
Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.