0

How to add div element to panel in gwt?

i added div panet directly to data table with using toString() but it just work in firefox (didnt work in chrome) DivElement d = Document.get().createDiveElement(); Pad.setInnerText("test"); DataTable t = new DataTable(); t.add(0,0,d.toString());

4th May 2020, 1:32 PM
Mahtab Dehghani Samani
Mahtab Dehghani Samani - avatar
3 Respuestas
+ 1
If you used the same code in both, that basically means that chrome doesn't support the code you are trying to execute but Firefox does.
4th May 2020, 1:37 PM
Sajid
Sajid - avatar
0
Cant understand you. Would be helpful if you give your code here
4th May 2020, 1:35 PM
Sajid
Sajid - avatar
0
yes i used same code for both of them
4th May 2020, 1:39 PM
Mahtab Dehghani Samani
Mahtab Dehghani Samani - avatar