OK; stop asking, stop thinking, start
reading:
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/CellWidget.html
On Saturday, February 23, 2013 12:55:13 PM UTC+1, membersound wrote:
>
> Well, the quickest way I could think of using a single EditTextCell is
> the following:
>
> EditTextCell textEdit = new EditTextCell();
> CellList<String> cellList = new CellList<String>(textEdit);
> List<String> list = new ArrayList<String>();
> list.add("single line field");
> cellList.setRowData(0, list);
> panel.add(cellList);
>
> Am I overcomplicating things, or did I miss something?
> I don't feel using a component like CellList which is initially designed
> to display a list is a good solution to just show a single editable label,
> is it?
>
> Thanks
>
>
> 2013/2/22 Thomas Broyer <[email protected] <javascript:>>
>
>>
>>
>> On Friday, February 22, 2013 8:19:17 PM UTC+1, membersound wrote:
>>>
>>> Yes I'm already using EditTexCell in CellTable/DataGrid.
>>>
>>> But I'm looking for a one-line label that is inplace editable.
>>>
>>
>> Read again; keyword:
>> *CellWidget<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/CellWidget.html>
>> *
>>
>>
>>>
>>>
>>> 2013/2/22 Thomas Broyer <[email protected]>
>>>
>>>> Have you tried using the EditTextCell within a CellWidget?
>>>>
>>>> On Friday, February 22, 2013 3:14:47 PM UTC+1, membersound wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> maybe I'm missing something, but: is there any EditableTextBox widget
>>>>> available? I mean a single-line label which changes to edit mode on
>>>>> click,
>>>>> just like EditTextCell does in CellTable Columns?
>>>>> If not, how could I use EditTextCell as a replacement for what I'm
>>>>> looking without having to create a CellTable (which would of course be
>>>>> overkill for a single edit label).
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to google-web-toolkit+**[email protected].
>>>> To post to this group, send email to google-we...@**googlegroups.com.
>>>>
>>>> Visit this group at http://groups.google.com/**
>>>> group/google-web-toolkit?hl=en<http://groups.google.com/group/google-web-toolkit?hl=en>
>>>> **.
>>>> For more options, visit
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>>
>>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to
>> [email protected]<javascript:>
>> .
>> Visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.