1. #1
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,018
    Vote Rating
    94
    SebTardif is just really nice SebTardif is just really nice SebTardif is just really nice SebTardif is just really nice

      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
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,018
    Vote Rating
    94
    SebTardif is just really nice SebTardif is just really nice SebTardif is just really nice SebTardif is just really nice

      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