Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: DirectProxy need work

  1. #31
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,038

    Default

    Just to complete the story, I'm now sorted and getting data populating in my grid

    The final issue was the fact that JSON.Net was serializing the data coming back using the .NET class property names, which are Pascal case. Obviously I want the fields in my Ext model to be camel case.

    Thankfully JSON.Net provides a CamelCasePropertyNamesContractResolver which you can add to your serializer settings, and then all is right with the world.

    Now continuing to piece together my UI.

    Cheers,
    Westy

  2. #32
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451

    Default

    Awesome! Since I'm sure the official one will come soon, I don't see a need for myself to work on getting full CRUD working so I won't be working any more on it.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #33
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,038

    Default

    Not sure if this is of interest to you, but I've 'fixed' my version until I get a better suggestion

  4. #34
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451

    Default

    Using the official DirectProxy now. Works the same in my case. This thread should be closed but I can't edit in advanced mode
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #35
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451

    Default

    Looks like official DirectProxy, like this one, will automatically sort. I am using remoteSort and specifying sorters and it will automatically load. No, not specifying autoLoad to true either.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  6. #36
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451

    Default

    Figured out how to close a thread without going advanced. Reply and one of the options is to close the thread! You have to be the OP to do this too.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. DataWriter Example does not work with DirectProxy
    By jcalfee in forum Ext.Direct
    Replies: 4
    Last Post: 12 Oct 2010, 12:40 PM
  2. [FIXED-672] DirectProxy Issue and Fix
    By timothy in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 4 Mar 2010, 9:37 AM
  3. Ext.data.DirectProxy doesn't work for me. What's wrong?
    By iryndin in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Nov 2009, 9:57 AM
  4. How to use PARAMS with Ext.data.DirectProxy
    By kpopov in forum Ext.Direct
    Replies: 1
    Last Post: 10 Sep 2009, 1:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •