Search:

Type: Posts; User: enagic

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    330

    I've started to remove my code from the forums...

    I've started to remove my code from the forums because I realized it's actually not legal for me to share it since I developed it on company time. But I'll include one example of one of my...
  2. Replies
    2
    Views
    330

    Private Utility Class

    Here's a best practice question as it relates to Ext 6.

    Background:
    I've been developing a lot of custom stuff in ST2 that I've been sharing with the community, but I've since stopped since it'll...
  3. Replies
    4
    Views
    2,274

    Ext.data.Model.create()...

    Ext.data.Model.create() will be exactly that... to create an instance. Whatever object literal you pass in will be the fields you want the model to be populated with. It'll be instantiated in...
  4. Replies
    4
    Views
    2,274

    Keep in mind that the purpose of a store is to...

    Keep in mind that the purpose of a store is to handle complex logic for every record that exists for that store. There might be a handful of records that need to be deleted, another handful that...
  5. Replies
    4
    Views
    2,274

    Maybe I'm missing what you're trying to do, but I...

    Maybe I'm missing what you're trying to do, but I think you might be confused with the difference between a model and a store. A store is a collection of model records... or imagine it to be a...
  6. Replies
    5
    Views
    2,290

    That's not always a true statement, but in this...

    That's not always a true statement, but in this context, yes.
  7. Replies
    2
    Views
    1,998

    What you're describing isn't really descriptive...

    What you're describing isn't really descriptive enough as to what is slow. Are you talking about the initial load time, the animations, the scrolling, ajax, etc.

    However, I'll try my best to...
  8. Replies
    5
    Views
    2,290

    Sorry, I hadn't seen you specify the scope. You...

    Sorry, I hadn't seen you specify the scope. You really should consider formatting your code ;-) On a low level, here's what's going on. When the framework loads your code, it's executing the...
  9. Replies
    5
    Views
    2,290

    Ext.ToolBar has a default item configured for a...

    Ext.ToolBar has a default item configured for a button. So when you add items inline without specifying the xtype value, it'll assume you'll want to create a button. I assume you already knew that...
  10. And no framework upgrade? What version of ST?

    And no framework upgrade? What version of ST?
  11. Exactly what version of Cmd are you upgrading...

    Exactly what version of Cmd are you upgrading from and to? I think my team had tried to upgrade before using cmd and didn't have much success with the upgrade out of the box--we might have resorted...
  12. I'm glad you found a solution. I hadn't read...

    I'm glad you found a solution. I hadn't read through your code in enough detail. ;-)


    But two things I want to warn you against concerning your solution; (1) Setting an id parameter is usually...
  13. Replies
    2
    Views
    765

    Indeed, that is a bit strange seeing that...

    Indeed, that is a bit strange seeing that confirm() is a native js function to a browser. Are you open to using Ext.Msg.confirm() as a workaround?
  14. Can you provide more information than what you've...

    Can you provide more information than what you've described so far? Is it that the css file never was retrieved? Do you see it in the network or resource tab? Or is it that the file exists but...
  15. Try modifying your showPerson() method to look...

    Try modifying your showPerson() method to look like this:



    showPerson: function(item, index, target, record, e, eOpts) {
    var personCmp = Ext.widget('personDetail', {
    data:...
  16. This might not be relevant, but have you tried...

    This might not be relevant, but have you tried "sencha app refresh" with Sencha Cmd?
  17. Thread: xtype conflict

    by enagic
    Replies
    3
    Views
    774

    I wouldn't recommend reusing the same alias...

    I wouldn't recommend reusing the same alias value. If you're not running in production, you should have gotten a warning about xtype override. The better way to handle this in the controller would...
  18. Replies
    1
    Views
    705

    That's because the constructor looks like this: ...

    That's because the constructor looks like this:



    function(fn, scope, args) {
    var config = {
    fn: fn,
    scope: scope,
    args: args
    };
  19. And what does your inActive() method look like?

    And what does your inActive() method look like?
  20. Replies
    1
    Views
    1,240

    Classic & Modern Merge

    Are there any plans to someday merge classic & modern? Looking at the source code it looks like the architecture is still designed very differently.
  21. Replies
    6
    Views
    1,014

    I'm usually the type to try to take things apart...

    I'm usually the type to try to take things apart and see if I can put it back together in one piece. I've gone down the road you've described before (took a bit of Sencha coding gymnastics) but I...
  22. Replies
    6
    Views
    1,014

    The reason why it's designed that way is because...

    The reason why it's designed that way is because the grid inherits from a list, which has advanced capabilities to handle infinite scrolling. That'll be more important for a grid so I don't blame...
  23. Replies
    6
    Views
    1,014

    If you wrap your grid around a vbox, you'll want...

    If you wrap your grid around a vbox, you'll want to configure the grid to have a flex config of 1. But that's still not going to accomplish what you're wanting, which is to have the grid's container...
  24. Replies
    6
    Views
    1,014

    Just a few things: I'm assuming that you are a...

    Just a few things:
    I'm assuming that you are a Sencha Complete customer because Ext.grid.Grid is a commercial product. The reason why this is important is because we (the community) might provoke...
  25. Yep... for whatever reason getUseHeaders() is...

    Yep... for whatever reason getUseHeaders() is returning a truthy value. I can't dedicate much more time on helping you with this, but you'll have to find out why. I would recommend putting the...
Results 1 to 25 of 59
Page 1 of 3 1 2 3