Search Type: Posts; User: castitas

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Easier, yes, but I'm replacing the header because I'm trying to minimize the vertical space. I had looked (briefly) at tools, but I was looking for an simpler alternative to extending a class (and...
  2. I have a window where I would like to replace its header with a toolbar:


    var win = Ext.create('Ext.window.Window', {
    header: {
    xtype:'toolbar'
    }
    ...
  3. Replies
    4
    Views
    314
    I fixed the visual part by putting width:'100%' in the template, and I am now using item.getEl() for sizing.
    Hooray for a simple fix.
  4. Replies
    4
    Views
    314
    The reason for select in assigning the width was that item.getEl().setWidth() didn't work. Or at least, we thought it didn't. Visually, the components weren't sizing correctly, but after using...
  5. Replies
    4
    Views
    314
    Probably not, but when the component is being created, they use select to set the width of the Component,


    item.getEl().select('.asset-bar').setWidth(endPos-startPos);

    which is likely...
  6. Replies
    4
    Views
    314
    The function below displays a window underneath a manually created Component (var comp). It is called by a custom click event (Component's don't have the event natively).


    showWindow:...
  7. The object I was working with was a Component, which does not natively have a click event. As such, we added one, via


    afterrender: function(cmp){
    ...
  8. Thank you for your response, chramer.
    What I'm looking for is how to pass the click event parameters to my function [these: click( this, e, eOpts ) ]. When I look at the parameters received in...
  9. I have this code:

    eventCmp.on("click",this.onClickedEvent,this,"UPDATE");
    Unfortunately, when I get to onClickedEvent, there is no event (I need it for the mouse coor). How do I get the event...
  10. I'm still researching this, but using grid.suspendLayout() keeps the grid from running a layout (one of the most expensive things in Ext), until you grid.resumeLayout(). In the meantime, you can add...
  11. I am familiar with .beginEdit() for records, and how it can speed things up when using rec.set('field', value). Due to a situation that is not my fault, we are using rec.data.field = value. Does...
  12. Be aware that when creating reusable components that appear on the same page, the component selectors will get all the objects that fit it. So if your reusable component is a panel with a grid and...
  13. I'm looking for a way to load app Y into any other app. The problem has been with the Loader being unable to find the files for Y when app B is loading.
  14. You could also look into a tree grid, though I don't know if it is the best solution to your problem. As for clicking on the row and having it populate a form, you'd need to gather the info on your...
  15. Do you really need a row editor in that case? Would it make sense to use cell editing instead?
  16. Replies
    1
    Views
    242
    Take a look at this link. It's their licensing page. There is a buy button at the top. If you qualify under the GPL, you may not need to buy it.
  17. Can you post a picture or some code?
  18. A small note to potentially save you some time.

    Suppose you want to load a form with a record from the database, and at least one of the fields is a combo. However, when you load the form, the...
  19. Looks like it worked. Thank you much. Was it that the filters hid the records when they came back from the server?
  20. I have an autoloading store connected to a combo. I can see the correct parameters in the request, as well as the data in the response. However, store.getCount() is 0 (but store.totalCount is 1933),...
  21. Never mind. ...it works now. I'm not sure why it didn't.
  22. So I have this code

    Ext.create("Ext.window.Window", {
    resizable: true,
    width: 400,
    height: 390,
    x: 400,
    y: 200,
    layout: 'fit',
    items: [
  23. I don't know if it returns the default parameters, but getInitialConfig() will return the values handed to the constructor.
  24. Replies
    1
    Views
    466
    Is there any way to get which button is pressed in a toggle group without iterating over all of them? It's not an object, so I don't think there is...
  25. Replies
    2
    Views
    2,092
    This post is related to a comment I made on the RowEditor plugin.

    To add buttons to the row editor, you have to overload both the RowEditing plugin and the RowEditor. (Bonus: How to add focus...
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4