Search Type: Posts; User: skirtle

Page 1 of 5 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    175
    What more do you need to know?

    As I mentioned previously the OPTIONS request is caused by custom headers. The page I referenced gives full details of what causes the OPTIONS request.

    Either you...
  2. Without a Fiddle I can't suggest anything specific.

    Try running a profiler to isolate where the time is spent (probably layout) and then try to optimize accordingly. e.g. fixed sizes.

    You may...
  3. How are you passing the data to request?

    If you use the jsonData option you don't need to call stringify.
  4. Replies
    4
    Views
    175
    Custom headers activate the pre-flight OPTIONS check.

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

    However, given the error message in the screenshot I wonder whether...
  5. I don't believe there are any docs, you'd have to study the code of the existing readers.

    My suggestion would be to subclass ArrayReader and just add an override to convert the CSV into an array...
  6. If you can't figure out what the difference between the requests is just from a quick comparison, try using Chrome's 'Copy as cURL' option to replicate the requests in cURL and gradually manipulate...
  7. The Fiddle will struggle with a cross-domain, non-https request like that. Change the URL to:


    url: '/',

    Then you'll see custom2 on the request.
  8. Replies
    2
    Views
    133
    I suspect it's this:

    http://docs.sencha.com/extjs/5.0/whats_new/5.0/extjs_upgrade_guide.html#DomQuery

    The all pseudo is not supported by querySelectorAll.

    What about just separating them...
  9. I think Ext.browser is the closest you'll get:

    http://docs.sencha.com/extjs/5.0.1/#!/api/Ext.browser

    The docs aren't great, just log it out to the console to get a sense for what's available.
  10. I'd suggest having a folder separate from your JS files (i.e. not in app) for CSS and images. The name 'resources' is commonly used.

    If you only have a very small quantity of CSS you could bundle...
  11. It needs to go in a CSS file, there's no special way to put it 'inside a view'. If you're building the ExtJS CSS from source you can include it in there, otherwise just create your own.
  12. Use cls, not componentCls. However, the net result is the same, an extra class on the outer element. Once you've got the extra class on the element it is just basic CSS from then on. The way you're...
  13. Use the cls config to add a CSS class to the field's main element then use CSS to apply the relevant styling. If the styles don't have any effect use the browser's dev tools to inspect the styles and...
  14. You'd use CTemplate instead.

    The BoundList is just a dataview so the approach described here should work:
    ...
  15. Are you using this extension?

    If you are then put it in a Fiddle and I'll take a look.
  16. A timer won't be reliable. You'd be better off adding a load listener to the jQuery script tag. Alternatively you could poll for the existence of the jQuery object.
  17. Replies
    3
    Views
    279
    That's not really any clearer.

    Which CRUD action?

    Where do you want the {aa:bbb} to appear?

    How do you expect the other parameters on the request to be merged in? e.g. paging and sorting for...
  18. So you're including jQuery UI but are you including jQuery anywhere?

    Do you see these files loading in the Network tab?

    It may be that the paths are wrong for your new setup or it could just be...
  19. Replies
    2
    Views
    312
    Use form.add instead of form.items.add.

    There's no JSON involved in this process. ExtJS configs are objects, usually created using JavaScript's object literal syntax. Don't confuse this with JSON.
  20. Replies
    1
    Views
    290
    If you want your app to fill the browser use a Viewport component.

    If you want to manage the size in some other way use onWindowResize to listen for the resize then call setWidth and setHeight on...
  21. Without context it's difficult to tell.

    Is it the call to getApplication or isAdmin that's failing?

    Is this definitely the application when you're defining isAdmin?

    Is the code where you...
  22. Replies
    2
    Views
    268
    From a quick look at the source for callParent I came up with this, which seems to work:


    arguments.callee.caller.$name
  23. You can access rec directly be name. You need to remove the 'me.' part.

    This is nothing to do with ExtJS, it's just a JavaScript closure.
  24. Replies
    3
    Views
    279
    I'm not really clear what you're trying to do but I don't believe encodeRequest is a valid config option.

    You might be looking for the JsonWriter's encode option or, more likely, paramsAsJson on...
  25. Usually in the stores array you'd drop the first part of the namespace, SQC.store.

    If you create a store using the stores array it'll be given an automatic id of...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4