1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    3
    Vote Rating
    0
    darkman13 is on a distinguished road

      0  

    Post Unanswered: When fire Event 'exception' in DirectStore??

    Unanswered: When fire Event 'exception' in DirectStore??


    PHP Code:
    Ext.onReady(function () {        Ext.direct.Manager.addProvider(Ext.app.REMOTING_API);        var ds = new Ext.data.DirectStore({            directFnGrid.getData,            paramsAsHashfalse,            paramOrder: ['start''limit''sort''dir'],            root'data',            idProperty'MV_ID',            totalProperty'total',            messageProperty'msg',            successProperty'success',            sortInfo: {                field'MV_ID',                direction'ASC'            },            fields: [                { name'MV_ID'type'int' },                { name'MV_TITLE'type'string' },                { name'INTERNAL_COMMENT'type'string' },                { name'MV_INTRO'type'string' },                { name'CREATE_DT'type'date' }            ],            remoteSortfalse,            pageSize100,            autoLoadtrue,            listeners: {                /*                load: function (store, records, success, operation, option) {                console.log(operation);                console.log(option);                console.log(store);                if (success === false) {                Ext.MessageBox.show({                title: 'REMOTE EXCEPTION',                //msg: operation.getError(),                msg: '에러입니다',                icon: Ext.MessageBox.ERROR,                buttons: Ext.Msg.OK                });                }                },                */                load: function (storerecordssuccessoperationoption) {                    console.log('load');                    console.log(this);                    console.log(store);                    console.log(records);                    console.log(success);                    console.log(operation);                    console.log(option);                },                beforeload: function (storeoperationoption) {                    console.log('beforeload');                    console.log(this);                    console.log(operation);                    console.log(option);                },                beforeprefetch: function (storeoperationoption) {                    console.log('beforeprefetch');                    console.log(this);                    console.log(operation);                    console.log(option);                },                exception: function(){                }            }        });
        }
    }); 
    What is a sequence of function calls?

    did "exception event" remove in extjs4 If not how does "exception event" triggered

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,668
    Answers
    3354
    Vote Rating
    746
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    If the exception event doesn't fire on the DirectStore (not one listed in API docs) then there is one on the proxy.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar