Search:

Type: Posts; User: Songle

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Thanks bizcatalyst. There's still a few of us...

    Thanks bizcatalyst.

    There's still a few of us "stuck" down here on Ext3.x

    This worked for me as well.

    .ext-ie .x-date-menu {
    width: 180px !important;
    }
  2. Yeah, comboboxes are notorious for this. Perhaps...

    Yeah, comboboxes are notorious for this. Perhaps the simplest way might be to change your form to to use Field Containers. See http://docs.sencha.com/extjs/4.1.3/#!/example/form/fieldcontainer.html...
  3. OK, so you are simply trying to get an icon to...

    OK, so you are simply trying to get an icon to sit on the right hand side of your fields. Try this...


    .np-info-field {
    background-image: url("../images/u191_normal.png");
    ...
  4. wrap your code in CODE tags so we can read it...

    wrap your code in CODE tags so we can read it otherwise no-one is going to try and help.
  5. I'm sorry jojo3091. I cannot fathom what you are...

    I'm sorry jojo3091. I cannot fathom what you are trying to do. First you say you are trying to dynamically add css and then you show me you are dynamically inserting spans.

    What is it you are...
  6. Why are you unable to dynamically change the CSS?...

    Why are you unable to dynamically change the CSS? There are many ways to do this. What have you tried?
  7. Replies
    4
    Views
    725

    ah, sorry about that. Perhaps a real life example...

    ah, sorry about that. Perhaps a real life example then



    Ext.define('Songle.model.SetListSongs', {
    extend: 'Ext.data.Model',
    idProperty: 'id',
    ...
  8. Replies
    4
    Views
    1,097

    You are NOT "in" myAPP.view.todo.List when the...

    You are NOT "in" myAPP.view.todo.List when the afterRender listener fires. You are "in" the panel called "View". So you need to find your top level List again.

    The best solution is to fire an...
  9. Replies
    4
    Views
    725

    type is so you can tell the model what type of...

    type is so you can tell the model what type of data is coming, 'int' or 'string' or 'boolean' or 'date'
  10. Replies
    3
    Views
    1,516

    can you post which styles have been applied to...

    can you post which styles have been applied to the validation message.
  11. Replies
    2
    Views
    496

    Try using windows rather than panels (your...

    Try using windows rather than panels (your default xtype). I had heaps of issues getting panels to constrain correctly but windows worked perfectly. I assumed it was a bug as mentioned.
  12. Replies
    4
    Views
    1,097

    In the afterRender listener fire an event at your...

    In the afterRender listener fire an event at your controller.
    From your controller you know all the managed objects and their properties. If you don't have one, you should.

    If you REALLY don't...
  13. Post some code and we may be able to help.

    Post some code and we may be able to help.
  14. The displayfield is the correct element so I'd...

    The displayfield is the correct element so I'd write a renderer. Something like this (untested)



    renderer: function(val){
    var retVal = "";
    Ext.each(val.match(/.{1,40}/g),function(v){...
  15. What you want is known as HARD WRAPPING but I...

    What you want is known as HARD WRAPPING but I dont think it is available on a displayfield as it is textarea functionality. You could put a renderer on your display field to break the title up as...
  16. Replies
    4
    Views
    2,895

    You called the textfield and the textarea the...

    You called the textfield and the textarea the same name.
  17. You could add a listener to the grid that fires...

    You could add a listener to the grid that fires whenever sort is used and query the sortInfo to find out what you want.



    var grid = new Ext.grid.GridPanel({
    listeners: {
    ...
  18. That's not the correct usage of delayedTask. ...

    That's not the correct usage of delayedTask.

    delayedTask is to "buffer" the task and NOT repeat it.

    So use taskManager or simply setInterval()
  19. Replies
    5
    Views
    1,912

    I set my path a little differently to this. In...

    I set my path a little differently to this. In index.js (called by index.html)



    Ext.Loader.setConfig({
    enabled : true
    });
    Ext.Loader.setPath('Songle','app');
  20. It's a slightly wierd UI but OK. Remove the...

    It's a slightly wierd UI but OK.
    Remove the middle panel. It is not needed and is in the way.

    Set the window to
    bodyStyle: "background-color: transparent !important;"
    border: false,
    ...
  21. Sounds like you don't need the middle panel. A...

    Sounds like you don't need the middle panel. A window IS a panel (check the component heirachy) so you can just add the slider to the window.

    Given you are using absolute positioning you can even...
  22. Are you sure you want a panel then? What...

    Are you sure you want a panel then? What functionality do you want the componet to have?

    Perhaps try a simplier componet. Maybe just a box.
  23. The whole point of an Ext.application is to be...

    The whole point of an Ext.application is to be the start point of your code. It defines your namespace. Why would you have one within the other. By all means have a callout "to a second application"...
  24. try bodyStyle: "background-color:...

    try


    bodyStyle: "background-color: transparent !important;"
  25. Replies
    2
    Views
    731

    Hi mpaker, firstly, next time please enclose...

    Hi mpaker,

    firstly, next time please enclose your code in code tags for readability.

    I'm confused at your statement that you are trying to do a "non-ajax submit" but the handler on your button...
Results 1 to 25 of 26
Page 1 of 2 1 2