Search Type: Posts; User: mom_pece

Search: Search took 0.02 seconds.

  1. 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...
  2. Replies
    4
    Views
    1,534
    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,...
  3. Replies
    4
    Views
    1,534
    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,...
  4. Replies
    4
    Views
    859
    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...
  5. Replies
    4
    Views
    859
    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?
  6. Replies
    4
    Views
    859
    REQUIRED INFORMATIONSencha version tested:

    Sencha PR4
    Browser versions tested against:

    Chrome 16
    DOCTYPE tested against:

    ____
    Description:
  7. Replies
    5
    Views
    1,425
    No worries, my english is not the most expressive form of communication ever :)
  8. Replies
    5
    Views
    1,425
    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...
  9. Replies
    5
    Views
    1,425
    onItemDeselect: function(record, suppressEvent) {
    var me = this;
    if (suppressEvent) {
    me.doItemDeSelect(me, record);

    Last line should be doItemDeselect (note the...
  10. Replies
    14
    Views
    4,075
    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...
  11. Replies
    2
    Views
    1,297
    The callback returns undefined for the button param.

    This is due to the

    config.fn.call(
    config.scope || null,
    button.itemId || button.text,
    ...
  12. Replies
    3
    Views
    1,321
    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...
  13. Replies
    3
    Views
    1,321
    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'...
  14. Replies
    1
    Views
    1,271
    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) {
    ...
  15. 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...
  16. Replies
    5
    Views
    2,542
    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){
    ...
  17. Replies
    1
    Views
    824
    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,...
  18. Replies
    5
    Views
    2,542
    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?
  19. Replies
    2
    Views
    1,077
    Sure, here is the model:


    Ext.define('Barcodes.model.BarcodeItem', {
    extend: 'Ext.data.Model',
    //requires: ['Ext.data.SequentialIdGenerator'],
    //idgen: 'sequential',


    ...
  20. Replies
    2
    Views
    1,077
    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);
    ...
  21. 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