Re: [qooxdoo-devel] Table navigation
Hmm, not sure. Try
http://manual.qooxdoo.org/1.2.x/pages/gui_toolkit/ui_interaction.html
and otherwise grep through the framework source.
You can also define your own events and fire and catch those, btw.
Cheers,
Fritz
On Fri, 13 Aug 2010, nexar wrote:
>
> Hi Fritz
>
> Thanks that is exactly the kind of thing that I want to do. However where
> in the documentation do I find what are the different types availabe to the
> addListener method? I looked up the addListener method within the Table API
> but that did not list all the different types. I then looked at the
> addListener method for the core.Object but that doesn't show the different
> types either. I clearly am not understanding how to interpret the
> documentation. If you could point me in the right direction for that, then
> it would be helpful for this and other things as well.
>
> Thanks
>
> Purvez
>
>
>
> Fritz Zaucker-2 wrote:
>>
>>> Hi,
>>>
>>> you can add an event handler on "keypress". Something like the following:
>>>
>>>yourTable.addListener("keypress",
>>> function(e) {
>>> var key = e.getKeyIdentifier();
>>> var row= propertyEditor.getFocusedRow();
>>> var col= propertyEditor.getFocusedColumn();
>>> this.debug('key='+key+', row='+row+', col='+col);
>>> },
>>> this);
>>>
>>> and check for key and do whatever you want to do ... you might need the
> two
>>> methods cancelEditing(), stopEditing() as well.
>>>
>>>
>>> Cheers,
>>> Fritz
>>
>> On Thu, 12 Aug 2010, nexar wrote:
>>
>>>
>>> Hi
>>>
>>> I'm a complete newbie to qooxdoo (qx) and got interested because I needed
>>> a
>>> half decent table widget for my app. What I've seen at qx exceeds my
>>> expectations and thanks in advance for that.
>>>
>>> However I've been trying out your various table demos and the thing that
>>> is
>>> worrying me is that once I enter edit mode on a cell in the table I can't
>>> move to the next cell in the row using tab. If I use 'Enter' I move to
>>> the
>>> same cell in the next row, which is not how you would intuitively move
>>> within a table. i.e. traverse a row and then move to the next row at the
>>> end of the row. Also 'Shift Tab' doesn't take me back. Given that the
>>> table looks very much like a FAT Client table my users are going to
>>> intuitively want to use the above key strokes.
>>>
>>> Please can anyone tell me whether the behaviour in the demos can be
>>> overridden to allow the behaviour outlined above? I would be happy to
>>> write
>>> extra code to get the behaviour I want. However looking through the
>>> various
>>> example 'js' or the API docs does not show if I can do that. Any
>>> guidance
>>> would be greatly appreciated.
>>>
>>> I need to make a decision on whether to use qx for my app or not and this
>>> is
>>> currently a stumbling block.
>>>
>>> Thanks in advance.
>>>
>>> Purvez
>>>
>>
>> --
>> Oetiker+Partner AG tel: +41 62 775 9903 (direct)
>> Fritz Zaucker+41 62 775 9900 (switch board)
>> Aarweg 15+41 79 675 0630 (mobile)
>> CH-4600 Olten fax: +41 62 775 9905
>> Schweiz web: www.oetiker.ch
>>
>> --
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> ___
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
>
--
Oetiker+Partner AG tel: +41 62 775 99 03 (direct)
Fritz Zaucker+41 62 775 99 00 (switch board)
Aarweg 15+41 79 675 06 30 (mobile)
CH-4600 Olten fax: +41 62 775 99 05
Schweiz web: www.oetiker.ch
--
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Hi I know this is off topic but I only joined the forum yesterday and perhaps I haven't got some setting right. Currently I am receiving emails regarding ALL posts to the forum whereas I was only expecting emails regarding posts that I had initiated or where I had replied. Please can someone help me get the right settings. Thanks Purvez -- View this message in context: http://qooxdoo.678.n2.nabble.com/Table-navigation-tp5417052p5420894.html Sent from the qooxdoo mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Hi Fritz
Thanks that is exactly the kind of thing that I want to do. However where
in the documentation do I find what are the different types availabe to the
addListener method? I looked up the addListener method within the Table API
but that did not list all the different types. I then looked at the
addListener method for the core.Object but that doesn't show the different
types either. I clearly am not understanding how to interpret the
documentation. If you could point me in the right direction for that, then
it would be helpful for this and other things as well.
Thanks
Purvez
Fritz Zaucker-2 wrote:
>
>>Hi,
>>
>>you can add an event handler on "keypress". Something like the following:
>>
>>yourTable.addListener("keypress",
>> function(e) {
>> var key = e.getKeyIdentifier();
>> var row= propertyEditor.getFocusedRow();
>> var col= propertyEditor.getFocusedColumn();
>> this.debug('key='+key+', row='+row+', col='+col);
>> },
>> this);
>>
>>and check for key and do whatever you want to do ... you might need the
two
>>methods cancelEditing(), stopEditing() as well.
>>
>>
>>Cheers,
>>Fritz
>
> On Thu, 12 Aug 2010, nexar wrote:
>
>>
>> Hi
>>
>> I'm a complete newbie to qooxdoo (qx) and got interested because I needed
>> a
>> half decent table widget for my app. What I've seen at qx exceeds my
>> expectations and thanks in advance for that.
>>
>> However I've been trying out your various table demos and the thing that
>> is
>> worrying me is that once I enter edit mode on a cell in the table I can't
>> move to the next cell in the row using tab. If I use 'Enter' I move to
>> the
>> same cell in the next row, which is not how you would intuitively move
>> within a table. i.e. traverse a row and then move to the next row at the
>> end of the row. Also 'Shift Tab' doesn't take me back. Given that the
>> table looks very much like a FAT Client table my users are going to
>> intuitively want to use the above key strokes.
>>
>> Please can anyone tell me whether the behaviour in the demos can be
>> overridden to allow the behaviour outlined above? I would be happy to
>> write
>> extra code to get the behaviour I want. However looking through the
>> various
>> example 'js' or the API docs does not show if I can do that. Any
>> guidance
>> would be greatly appreciated.
>>
>> I need to make a decision on whether to use qx for my app or not and this
>> is
>> currently a stumbling block.
>>
>> Thanks in advance.
>>
>> Purvez
>>
>
> --
> Oetiker+Partner AGtel: +41 62 775 9903 (direct)
> Fritz Zaucker+41 62 775 9900 (switch board)
> Aarweg 15+41 79 675 0630 (mobile)
> CH-4600 Olten fax: +41 62 775 9905
> Schweiz web: www.oetiker.ch
>
> --
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Table-navigation-tp5417052p5420815.html
Sent from the qooxdoo mailing list archive at Nabble.com.
--
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Hi,
you can add an event handler on "keypress". Something like the following:
yourTable.addListener("keypress",
function(e) {
var key = e.getKeyIdentifier();
var row= propertyEditor.getFocusedRow();
var col= propertyEditor.getFocusedColumn();
this.debug('key='+key+', row='+row+', col='+col);
},
this);
and check for key and do whatever you want to do ... you might need the two
methods cancelEditing(), stopEditing() as well.
Cheers,
Fritz
On Thu, 12 Aug 2010, nexar wrote:
>
> Hi
>
> I'm a complete newbie to qooxdoo (qx) and got interested because I needed a
> half decent table widget for my app. What I've seen at qx exceeds my
> expectations and thanks in advance for that.
>
> However I've been trying out your various table demos and the thing that is
> worrying me is that once I enter edit mode on a cell in the table I can't
> move to the next cell in the row using tab. If I use 'Enter' I move to the
> same cell in the next row, which is not how you would intuitively move
> within a table. i.e. traverse a row and then move to the next row at the
> end of the row. Also 'Shift Tab' doesn't take me back. Given that the
> table looks very much like a FAT Client table my users are going to
> intuitively want to use the above key strokes.
>
> Please can anyone tell me whether the behaviour in the demos can be
> overridden to allow the behaviour outlined above? I would be happy to write
> extra code to get the behaviour I want. However looking through the various
> example 'js' or the API docs does not show if I can do that. Any guidance
> would be greatly appreciated.
>
> I need to make a decision on whether to use qx for my app or not and this is
> currently a stumbling block.
>
> Thanks in advance.
>
> Purvez
>
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker+41 62 775 9900 (switch board)
Aarweg 15+41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
--
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Not really, you should just extend qx.ui.table.Table and override _onKeyPress. Le 13 août 2010 à 09:06, nexar a écrit : > > Hi David > > Thanks for the prompt answer. Are there any demos or code snippets that I > could look at to help me get started? > > Purvez > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Table-navigation-tp5417052p5419056.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > ___ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Hi David Thanks for the prompt answer. Are there any demos or code snippets that I could look at to help me get started? Purvez -- View this message in context: http://qooxdoo.678.n2.nabble.com/Table-navigation-tp5417052p5419056.html Sent from the qooxdoo mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Table navigation
Hi, Yes, you can make the table behave like on Excel. But have to write some code... David -- View this message in context: http://qooxdoo.678.n2.nabble.com/Table-navigation-tp5417052p5418832.html Sent from the qooxdoo mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
