Search:

Type: Posts; User: mdavis6890

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    12,163

    That would work, but then I'd be making...

    That would work, but then I'd be making assumptions about the format of the incoming date. Not something I want to do in such an internal place.

    In the end, I think this will work:




    // Get...
  2. Replies
    7
    Views
    1,017

    Notepad++, Windows 7 64bit. I've also tried to...

    Notepad++, Windows 7 64bit.

    I've also tried to use TextPad and Notepad or both in the middle of the copy/paste process to see if that changes anything. It doesn't. It continues to look fine in...
  3. Replies
    9
    Views
    12,163

    "If you're storing / retrieving dates on / from...

    "If you're storing / retrieving dates on / from the server, it's best to pass them around as UTC date strings / unix timestamps."
    - Yes, but this is trumped by my desire to simply use whatever comes...
  4. Replies
    7
    Views
    1,017

    Not at all what I'm talking about. I'm very...

    Not at all what I'm talking about. I'm very familiar with [CODE] and
    tags.

    Code that I paste looks like this:
    [PHP]
    code
    indented code
    more code
  5. Replies
    7
    Views
    1,017

    Code formatting lost?

    How do you all paste data into a post?

    Whenever I try, it looks fine until I submit it. Then all my CR/LF are lost. I've tried pasting into intermediate programs like notepad as well, to no avail....
  6. Replies
    9
    Views
    12,163

    Here's my hack that works for me. I wish I had...

    Here's my hack that works for me. I wish I had something better:




    Ext.require('Ext.data.Types', function () {
    Ext.apply(Ext.data.Types, {
    DATE: {
    convert: function(v) {
    ...
  7. Replies
    9
    Views
    12,163

    This is inside the DATE type internal to ExtJS,...

    This is inside the DATE type internal to ExtJS, which wants to return an actual JS Date object. In particular, this is the function used by the reader when getting data from the server and populating...
  8. Replies
    9
    Views
    12,163

    Date convert timezone issue

    I'm having trouble with the DATE convert function, apparently due to timezone issues.

    Ext.data.Types, line 159:


    parsed = Date.parse(v);
    return parsed ? new Date(parsed) : null;

    ...
  9. [OPEN] Ext.define('REI.data.proxy.Rest', { override...

    Ext.define('REI.data.proxy.Rest', {
    override : 'Ext.data.proxy.Rest',
    buildUrl: function(request) {
    var me = this,
    operation = request.operation,
    ...
  10. [OPEN] I wouldn't expect an Id to be FALSE either, but...

    I wouldn't expect an Id to be FALSE either, but it should still be allowed - just a minor point.

    The more important thing is that this takes Ext a small step closer to good NULL support, which is...
  11. [OPEN] ExtJS 4.1-beta2, Ext.data.proxy.Rest, line 137

    buildUrl: function(request) {
    var me = this,
    operation = request.operation,
    records = operation.records || [],
    record = records[0],
    ...
  12. denu, any chance you figured this out? I'm having...

    denu, any chance you figured this out? I'm having the same problem.
  13. When I looked at the source for clearFilter, I...

    When I looked at the source for clearFilter, I realized that all it was doing is calling store.filters.clear, then loading. So I think all we need to do is:



    store.filters.clear();...
  14. Ext.define('IDB.selectbox.LinkedComboPlugin', { ...

    Ext.define('IDB.selectbox.LinkedComboPlugin', {
    extend: 'Ext.AbstractPlugin',
    alias: 'plugin.linkedcombo',
    /* Must pass object like {
    comboId : 'myLinkedCombo',
    ...
  15. I'm almost literally in tears right now. I have...

    I'm almost literally in tears right now. I have spent dozens of hours on this in pursuit of a nice, clean and very generalized linked-combo plugin. I think I finally have it.

    Must run now, but...
  16. ComboBox Store filters twice on first click

    **Moved from bugs forum***

    I've got an 'expand' listener on my combobox that I want to use to filter the store. Unfortunately, the store seems to filter or load twice on the first click, once the...
  17. [CLOSED] I'll re-post in the Q&A section.

    I'll re-post in the Q&A section.
  18. [CLOSED] I really don't know why or whether it matters,...

    I really don't know why or whether it matters, I'm just seeking to understand. In any case I really do appreciate the input. At least now I know that it's filtering twice, which is more data than I...
  19. [CLOSED] I'm not quite sure I follow why you would be...

    I'm not quite sure I follow why you would be adding a listener from within the 'expand' event function. I moved it to the store config:




    Ext.define('Test', {
    extend : 'Ext.data.Model',
    ...
  20. [CLOSED] Some quick testing on my part shows that this is...

    Some quick testing on my part shows that this is the case in 4.1-pr1, 4.0.7 and 4.0.2a
  21. [CLOSED] ComboBox Store Filter doesn't apply on first expand/show/click

    Simple test case:




    Ext.define('Test', {
    extend : 'Ext.data.Model',
    fields : [{name : 'fname', type : 'string'}]}
    );
  22. Thread: Overrides?

    by mdavis6890
    Replies
    8
    Views
    1,432

    And I would like to officially comment on the...

    And I would like to officially comment on the lameness of this new forum post editor. It loses all my formating when I copy/paste from my text editor (Notepad++ on Windows 7).

    LAME Editor. Why not...
  23. Thread: Overrides?

    by mdavis6890
    Replies
    8
    Views
    1,432

    I think I got something that works the way I...

    I think I got something that works the way I want.

    I added this code to my app.js file:




    Ext.require('Ext.grid.header.Container', function() { Ext.override(Ext.grid.header.Container,...
  24. Thread: Overrides?

    by mdavis6890
    Replies
    8
    Views
    1,432

    I hate to ask, but do you think you can give me...

    I hate to ask, but do you think you can give me an explicit code example? I normally wouldn't ask, but I've spent a few hours already trying to figure it out.

    And yes, looking for something like...
  25. Thread: Overrides?

    by mdavis6890
    Replies
    8
    Views
    1,432

    Overrides?

    Can somebody give me an example of exactly how I'm supposed to do overrides in the new architecture? I'm not quite sure what to put where.

    My single HTML file:



    <!DOCTYPE HTML PUBLIC...
Results 1 to 25 of 159
Page 1 of 7 1 2 3 4