Search Type: Posts; User: skirtle

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Presumably because you added your CSS before the default ExtJS CSS? For two selectors with equal specificity the latter rule wins.
  2. In your type you have 'pdf', in the CSS selector you have 'print'.

    If that isn't the problem, just inspect the element using the browser dev tools and figure out why the CSS isn't taking. It's...
  3. Isn't that getRange with no arguments?
  4. That's a really painful way to do it. Rather than using console logging just inspect the relevant elements in the 'Elements' section of Chrome's dev tools. It'll update live as you move the mouse or...
  5. If you just want to see what classes are applied you can open the browser dev tools and watch them change.

    From a few seconds playing with any grid example you should be able to see that the...
  6. I'm not familiar enough with ASP .NET to comment.
  7. What do you mean by 'showing me data with escaping characters'?
  8. That looks correct to me, what you posted doesn't contain any extra escaping characters.
  9. You said previously that you were receiving the data on the server but with excess escaping. That's the request I'm interested in. There's no way it can be blank if the server's getting the data.
  10. Fiddler seems like overkill when you could just use the tools built into the browsers.

    That said, the output you've posted seems to be from the case where you haven't passed the value through...
  11. I assume the extra characters you mentioned are \, not /. Something like this?


    "{\"key\":\"value\"}"

    That indicates the value has been JSON encoded twice.

    I suggest breaking this down into...
  12. Replies
    4
    Views
    228
    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...
  13. 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...
  14. How are you passing the data to request?

    If you use the jsonData option you don't need to call stringify.
  15. Replies
    4
    Views
    228
    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...
  16. 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...
  17. 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...
  18. 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.
  19. Replies
    2
    Views
    182
    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...
  20. 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.
  21. 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...
  22. 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.
  23. 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...
  24. 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...
  25. You'd use CTemplate instead.

    The BoundList is just a dataview so the approach described here should work:
    ...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4