Results 1 to 2 of 2

Thread: How to set timeout on a Ext.data.DirectStore ?

  1. #1
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,104
    Vote Rating
    102
      0  

    Default How to set timeout on a Ext.data.DirectStore ?

    How to set timeout on a Ext.data.DirectStore ?

    Setting timeout like below do not work.

    ds = new Ext.data.DirectStore({
    directFn: Employees.Get,
    paramsAsHash: false,
    timeout: 600000,

  2. #2
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,104
    Vote Rating
    102
      0  

    Default

    I think the code above should work, so that Ext is easier to use.

    Anyway, the workaround is described here: http://stackoverflow.com/questions/2...nstore-timeout

Similar Threads

  1. No Realtime Data in Designer using DirectStore
    By thesilentman in forum Ext Designer: Help & Discussion
    Replies: 10
    Last Post: 2 Nov 2011, 12:03 PM
  2. Ext.data.DirectStore making me crazy
    By danellison in forum Ext.Direct
    Replies: 5
    Last Post: 29 Jan 2010, 1:05 PM
  3. Ext.data.DirectStore Usage
    By Whatty in forum Ext.Direct
    Replies: 2
    Last Post: 28 Oct 2009, 6:02 AM
  4. Replies: 1
    Last Post: 17 Apr 2009, 3:04 PM
  5. Replies: 1
    Last Post: 17 Apr 2009, 3:04 PM

Tags for this Thread

Posting Permissions

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