I am currently using a SmartGWT grid, that uses a DataSource object, which receives an xml file. All is well with this approach, but I want to know if I can just send a string with an xml structure. Something like the below:
String xml = "<listgrid><data><campo1></campo1>hola<campo2>mundo</campo2></data></listgrid>";
setData(xml);
This is pseudo-code, but it should give an idea to the reader.
I've searched and found no example that fulfills my requirements.