catching the tab key press and calling the startEditing is the right
solutioni don't know any other...maybe i have some idea on monday when i'll
be back @ work
bye pat

2009/8/30 Sushmita Reddy <[email protected]>

> Hi pat,
>    I am sorry..I am new to GWT-ext. ita a gridlistener. when I click on tab
> it goes to the next sibling cell, but here is my senario
> in column1 i have the data(which is not editable),in clo2 I have some
> data(it is editable and has a text box).
> my problem here is when i tab from col1 to col2 the editable row is not
> open. I want to see the text box when the tab goes to col2.
>
> Please let me know how can I solve this. My task dead lines are nearing.
> can you please let me know how can I do this.
>
> Thanks in advance for your help.
>
> Thanks,
> Susmitha.
>
> On Fri, Aug 28, 2009 at 6:08 PM, Patrizio De Michele 
> <[email protected]>wrote:
>
>> excuse me are you sure the method is called?? the interface
>> gridcelllistener doesn't provide onKeyPress(...)
>> have you confused gridcelllistener with gridlistener??
>> i didn't see the @Override annotation so maybe it means that
>> you aren't extending the adapter.....
>> assuming to use a gridlistener and its method onKeyPress
>> and that you add the listener with addGridListener
>> seems that your code is correct but remember that indexes starts from
>> zero
>> so i argue also that you've at least 2 cols and 2 rows....
>> are you sure that grid.startEditing is called?
>>
>> are you sure that with TAB the grideditorpanel doesn't goes to
>> the next "sibling" cell?
>> it seems to me that where i used it, it acts as you wish...
>> but you have to wait 'til monday when i'll go (sigh sigh :() back to
>> work....
>>
>> bye Pat
>>
>>
>> 2009/8/28 Sushmita Reddy <[email protected]>
>>
>>> Hi Pat,
>>>   Thanks very much for your reply. Can you please give me the example
>>> code for this.
>>> I tried like this, but it didn't work
>>>
>>>
>>> grid
>>> .addGridCellListener(*new* GridCellListenerAdapter() {
>>>
>>> *public* *void* *onKeyPress(EventObject e)* {
>>>
>>> *if* (e.getCharCode() == e.*TAB*){
>>>
>>> grid.startEditing(1,1);
>>>
>>>
>>>
>>> }
>>>
>>> }
>>>
>>> });
>>>
>>>
>>>
>>> Thanks very much for your help.
>>>
>>> Thanks,
>>>
>>> Susmitha.
>>>
>>>
>>>   On Tue, Aug 25, 2009 at 12:00 AM, Patrizio De Michele <
>>> [email protected]> wrote:
>>>
>>>> in the grideditorpanel you can call startEditing(row, col) with which
>>>> your cell will  get focus...
>>>> pat
>>>>
>>>> 2009/8/25 Sushmita Reddy <[email protected]>
>>>>
>>>>  Hi Pat,
>>>>>   Thanks very much for your reply. I wanted to implement the
>>>>> editorialgrid panel, but the problem is , when we tab out(TAB key), the 
>>>>> text
>>>>> box is not getting activated. Is there a way that I can enable the textbox
>>>>> with Tab key.
>>>>>
>>>>> Thanks very much for taking time and replying to my queris.
>>>>>
>>>>> Thanks,
>>>>> Susmitha.
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Aug 24, 2009 at 4:56 PM, Patrizio De Michele <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> as i have said make a table layout with textboxes....the data boxes
>>>>>> are textboxes but with setreadonly(true) and with
>>>>>> sethidelabel(true)...the others with labels hidden only...
>>>>>> insert everything within a frompanel..set also autoscroll(true) on the
>>>>>> formPanel
>>>>>> but i frankly believe that is more simply an editorgridpanel.....and
>>>>>> that you are near to
>>>>>> waste your time....but the time is your :)...
>>>>>> bye pat
>>>>>>
>>>>>>
>>>>>> 2009/8/24 Sushmita Reddy <[email protected]>
>>>>>>
>>>>>>  Hi Pat,
>>>>>>>   Thanks for the reply. I want to display text boxes in column along
>>>>>>> with data. below is my requirement.
>>>>>>> I want to have grid with 5 columns. 3 columns displays data and 2
>>>>>>> columns has text boxes. I want to update the data which the user enters 
>>>>>>> in
>>>>>>> the text box.
>>>>>>>
>>>>>>> here is the samle requirement..
>>>>>>>
>>>>>>> *col1*            *col2               col3
>>>>>>> col4              col5*
>>>>>>> data             data              textbox        textbox
>>>>>>> data
>>>>>>> data
>>>>>>> data              textbox        textbox          data
>>>>>>> data
>>>>>>> data              textbox        textbox          data
>>>>>>> data             data              textbox        textbox
>>>>>>> data
>>>>>>>
>>>>>>> Please let me know how can I do it. Thanks in advance for any help.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Susmitha.
>>>>>>>
>>>>>>>
>>>>>>>   On Sun, Aug 23, 2009 at 10:27 AM, Patrizio De Michele <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> it seems to me that you don't want a grid but a set of textboxes
>>>>>>>> disposed as a grid.... you can use a tablelayout....
>>>>>>>> bye pat
>>>>>>>>
>>>>>>>> 2009/8/22 Sushmita <[email protected]>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>  I am new to GWT-Ext. I want to add a text box to grid. I saw the
>>>>>>>>> example of editable grid, but the text box shows up only when we
>>>>>>>>> click
>>>>>>>>> on it. I want to show the text box as soon as I see the grid.
>>>>>>>>> Please
>>>>>>>>> let me know how can I do it.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Susmitha.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to