wodzu
wodzu

Reputation: 3172

The type com.google.gwt.cell.client.EditTextCell.ViewData is not visible

I got following problem: I have a CellTable, which I want to contain an EditTextCell to edit the displayed data of my table's row. In order to do this my EditTextCell needs a ViewData object, which I am not able to initialize, since I get following error: The type com.google.gwt.cell.client.EditTextCell.ViewData is not visible

EditTextCell editTextCell = new EditTextCell();
String key = "foo";
com.google.gwt.cell.client.EditTextCell.ViewData viewData;
editTextCell.setViewData(key, viewData);

Does anyone know this issue and how to fix this?

Upvotes: 2

Views: 353

Answers (1)

Daniel Langdon
Daniel Langdon

Reputation: 5999

It's probably private so you don't modify the internal structure. I believe you have to think of this problem the other way around, add your editor to the view and let it pass the data internally, instead of trying to extract the data yourself and pass it to the editor.

Upvotes: 1

Related Questions