Search Type: Posts; User: mom_pece
Search: Search took 0.02 seconds.
-
15 Mar 2012 5:51 PM
- Replies
- 6
- Views
- 868
Now we have the autoCreate: true for "refs" to automatically get created if they don't exist but I don;t think the respective "control" handlers/listeners are getting reattached when a reference gets...
-
13 Feb 2012 10:07 AM
Jump to post Thread: Model.Save scope by mom_pece
- Replies
- 4
- Views
- 823
I know it does, only that the documentation for model.save says:
save( Object options ) : Ext.data.Model
Saves the model instance using the configured proxy.
You just called model.save(object,... -
13 Feb 2012 8:39 AM
Jump to post Thread: Model.Save scope by mom_pece
- Replies
- 4
- Views
- 823
Save method for Model is documented having one parameter (Options) where you should be able to set the scope. Looking in the source code, the Save method of Model is in fact taking two parameters,...
-
31 Jan 2012 3:48 AM
Jump to post Thread: Store.sort() by mom_pece
- Replies
- 4
- Views
- 569
I for now just did a quick override for Store.sort that seems to work. Doing it in a separate file I can easily remove it when PR5 comes out without changing the original source code.
Probably not... -
31 Jan 2012 2:19 AM
Jump to post Thread: Store.sort() by mom_pece
- Replies
- 4
- Views
- 569
Thanks. Is there any chance I could get the patch somehow, even if only the diff or the lines you've changed so I can integrate it into my current framework?
-
30 Jan 2012 10:12 AM
Jump to post Thread: Store.sort() by mom_pece
- Replies
- 4
- Views
- 569
REQUIRED INFORMATIONSencha version tested:
Sencha PR4
Browser versions tested against:
Chrome 16
DOCTYPE tested against:
____
Description: -
14 Dec 2011 7:50 AM
Jump to post Thread: List doItemDselect by mom_pece
- Replies
- 5
- Views
- 919
No worries, my english is not the most expressive form of communication ever :)
-
14 Dec 2011 7:27 AM
Jump to post Thread: List doItemDselect by mom_pece
- Replies
- 5
- Views
- 919
Sorry for not providing test cases for these bugs, but I am currently on a very tight schedule here and don;t have much time to build them.
It this case I thought it'll be pretty obvious as the... -
14 Dec 2011 4:58 AM
Jump to post Thread: List doItemDselect by mom_pece
- Replies
- 5
- Views
- 919
onItemDeselect: function(record, suppressEvent) {
var me = this;
if (suppressEvent) {
me.doItemDeSelect(me, record);
Last line should be doItemDeselect (note the... -
13 Dec 2011 3:04 PM
Jump to post Thread: List selected on store reload by mom_pece
- Replies
- 14
- Views
- 2,968
I am having some problems with a List and the currently selected item. It looks like when I reload the store and the list refreshes, the item (index) that used to be selected keeps the selected css...
-
17 Nov 2011 6:34 AM
Jump to post Thread: Ext.Msg.confim broken by mom_pece
- Replies
- 2
- Views
- 974
The callback returns undefined for the button param.
This is due to the
config.fn.call(
config.scope || null,
button.itemId || button.text,
... -
15 Nov 2011 7:41 AM
Jump to post Thread: PR2 breaks model.save() by mom_pece
- Replies
- 3
- Views
- 1,052
I had to change the source and just add:
if (config && typeof config === 'object') {
if ('listeners' in config ) {
where it breaks, surely not the best thing, changing the... -
15 Nov 2011 3:25 AM
Jump to post Thread: PR2 breaks model.save() by mom_pece
- Replies
- 3
- Views
- 1,052
The code that used to work on PR1:
var rec = this.getBarcodeItemsStore().getAt(recordNo);
rec.save({
scope: this,
.......
now breaks with
"Uncaught TypeError: Cannot use 'in'... -
4 Nov 2011 3:15 AM
Jump to post Thread: Text field focus() by mom_pece
- Replies
- 1
- Views
- 776
I have a few issues trying to set focus on a text field inside a panel.
I am currently doing:
this.getForm().on({
scope: this,
'show': function (el, opt) {
... -
2 Nov 2011 7:54 AM
- Replies
- 1
- Views
- 944
Demo: http://docs.sencha.com/touch/2-0/#!/example/kitchensink/index.html
In UI --> Forms --> The bio field text area, if you type some text and then press the enter key, the text area looses... -
27 Oct 2011 12:21 PM
Jump to post Thread: store.sync() callbacks by mom_pece
- Replies
- 4
- Views
- 1,406
I moved the proxy to the model and been able to hook into callbacks by using model.save() method instead of the store.sync().
rec.save({
success: function(record, operation){
... -
27 Oct 2011 4:20 AM
Jump to post Thread: Store events by mom_pece
- Replies
- 1
- Views
- 511
Hi,
I got a bit confused about the events and the way we are supposed to wired them up. One example I am currently having trouble with is:
Why setting the load event for a store like this,... -
27 Oct 2011 1:26 AM
Jump to post Thread: store.sync() callbacks by mom_pece
- Replies
- 4
- Views
- 1,406
I don't seem to find a way of install listeners to the store.sync() method. Anyone able to point me towards handling batch success and failure events?
-
26 Oct 2011 7:44 AM
Jump to post Thread: store sync() issues by mom_pece
- Replies
- 2
- Views
- 649
Sure, here is the model:
Ext.define('Barcodes.model.BarcodeItem', {
extend: 'Ext.data.Model',
//requires: ['Ext.data.SequentialIdGenerator'],
//idgen: 'sequential',
... -
25 Oct 2011 10:47 AM
Jump to post Thread: store sync() issues by mom_pece
- Replies
- 2
- Views
- 649
Hi,
I am trying to update a record in the store, which should send the change via the store writer , to the server. My code:
var rec = this.getBarcodeItemsStore().getAt(recordNo);
... -
24 Oct 2011 7:24 AM
- Replies
- 1
- Views
- 764
It seems that this bit :
//calling getchecked will sync the new checked value
if (me.getChecked()) {
me.fireAction('uncheck', [me, e], 'doUnChecked');
} else {
...
Results 1 to 21 of 21
