Search:

Type: Posts; User: castitas

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,099

    Easier, yes, but I'm replacing the header because...

    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. Replies
    3
    Views
    1,099

    Header config for a window erroring

    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
    523

    Fixed

    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
    523

    The reason for select in assigning the width was...

    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
    523

    Probably not, but when the component is being...

    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
    523

    Ext.dom.Element weirdness

    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. Replies
    4
    Views
    1,194

    The Answer

    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. Replies
    4
    Views
    1,194

    Thank you for your response, chramer. What...

    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. Replies
    4
    Views
    1,194

    Passing event parameters when using .on()

    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...

    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. Does beginEdit() still help when using rec.data?

    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. Replies
    4
    Views
    3,589

    Be aware that when creating reusable components...

    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. Replies
    1
    Views
    977

    Appception: An app within an app

    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. Replies
    4
    Views
    770

    You could also look into a tree grid...

    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?...

    Do you really need a row editor in that case? Would it make sense to use cell editing instead?
  16. Replies
    1
    Views
    337

    Take a look at this link...

    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. Replies
    4
    Views
    770

    Can you post a picture or some code?

    Can you post a picture or some code?
  18. When your a combo in your form shows a number [4.1.1]

    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. Replies
    3
    Views
    776

    Looks like it worked. Thank you much. Was it that...

    Looks like it worked. Thank you much. Was it that the filters hid the records when they came back from the server?
  20. Replies
    3
    Views
    776

    Store loads, but contains no records

    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. Replies
    2
    Views
    965

    Never mind. ...it works now. I'm not sure why it...

    Never mind. ...it works now. I'm not sure why it didn't.
  22. Replies
    2
    Views
    965

    Problems with tab panel in a window

    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...

    I don't know if it returns the default parameters, but getInitialConfig() will return the values handed to the constructor.
  24. Replies
    1
    Views
    659

    Working with toggleGroup

    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
    3,200

    Adding buttons to the roweditor

    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 118
Page 1 of 5 1 2 3 4