Search Type: Posts; User: krullj

Search: Search took 0.03 seconds.

  1. I haven't tested this fix with versions other than 4.1.3, but it seems to be working great.

    The code below simply pulls the records out of the store in the order that they are grouped, then...
  2. Sorry, I should have been more specific in my first post. Basically anything another person would need to set up a test to see if they can reproduce your problem. For instance, your store has a model...
  3. It looks like the "2" might be the ID of the record you're trying to use PUT or DELETE on. That's just how REST works. It's helpful that you put the ExtJS version, but overall you didn't provide...
  4. If you want to edit the actual ExtJS properties of the field, you'll need to loop through the properties of the field (excluding functions) and put them into the property grid's store. To...
  5. Replies
    28
    Views
    795
    I was wondering what the reason is that you need IE6 support to begin with. According to http://www.ie6countdown.com/ , less than 7% of the entire world uses IE6, and the majority of the users are...
  6. Replies
    1
    Views
    82
    If you look in the rowexpander source, it looks like they check whether or not a row is expanded in the following:

    isCollapsed = row.hasCls(me.rowCollapsedCls)

    You can see the rest of it here,...
  7. Do you have to have all the functionality of a window? You could make the form panel be a floating form panel instead. You could probably even give it a header and some tools to give it the usual...
  8. Figured it out. If you override the class that inherits the Labelable mixin, it works fine.

    Ext.define('MyOverride', {
    override: 'Ext.form.field.Base',
    msgTarget: 'under'
    });
  9. Replies
    1
    Views
    91
    You can use whatever server side language you want, including JSP. Paging has to do with the database, and not the server side language, so your database has to support "limit" and "offset" or...
  10. Honestly, it looks like it should work, but you may want to try the newer format (and make absolutely sure that your override is being applied).

    Just to be safe, try this format, adjusting the...
  11. Please see here: http://docs.sencha.com/ext-js/4-2/#!/api/Ext.form.field.ComboBox-cfg-tpl
  12. According to the docs, getAssociatedData() returns and object and not a store, so you'll probably have to first put that data into a store and then pass it as a parameter to valueGrid.reconfigure()....
  13. Ah, okay. I see now. I was confused about the second objective you have.

    I believe you're going to have to implement a solution without using the CheckboxModel. The selection of rows is tied to...
  14. Try adding the following config to your selection model:

    checkOnly: false
  15. Glad to help, zeeshanjeelani. As long as you define the store before your "holiday" class, you should be able to set the store property of the grid to the class name you give the store. In that case...
  16. After you create the store you can attach it to the grid by using the following method:


    // this code assumes you already have store defined and assigned to the "store" variable

    var...
  17. Replies
    3
    Views
    198
    How many records are in the store that you're using getById() on? I'm wondering why it's being slow for you. If you really want to map the records, you could do it when the store loads (or some other...
  18. I think your best bet would be to remove the class that gets applied to read-only fields.

    Here's what you need to do in your case:

    this.PForm.findField('field1').removeCls('x-form-readonly');
    ...
  19. Replies
    2
    Views
    104
    @zeeshanjeelani, I tested your code almost entirely by itself and it worked fine. My guess is something else is happening after the rendering of the textfield that is making it lose focus. Try...
  20. When you're firing an event, you need to pass the object as the second parameter. In your case, you would probably want to do this:

    me.fireEvent('datachanged', me);
    Hopefully that fixes your...
  21. What you can do is to simply use this one component to add text before and after the input field. In my test, the text showed up above and below the input field, but it's probably just a styling...
  22. Can you please specify if you are trying to add a store using the Sencha Architect tool or if you want to simply add it manually?
  23. I finally found the solution to be, in my case, this:

    sencha compile --classpath=ext/src,ext/examples/ux,app/model,app/store,app/view,app/controller,app/app.js union -recursive -file app/app.js...
  24. Thank you for the responses.

    In terms of using

    sencha app refresh

    I am unable to do that as the application was not initially created with SenchaCmd. If there's a way to force the refresh,...
  25. This problem has been solved. Solution in Post #6.

    In short, my application works great with Ext.Loader enabled but not built. However, after disabling Ext.Loader and building my application, it...
Results 1 to 25 of 25