Search:

Type: Posts; User: parth.suthar

Search: Search took 0.03 seconds.

  1. How to handle on orientationchange event in Container?

    I haven't found onOrientationChange event in Container class.
    So,If i want to change some internal property or any component layout on orientation change event. How can i do it?

    Thanks in advance...
  2. You can use browser's inbuilt xml parser instead of sench touch.

    Hi,

    You can use browser's inbuilt xml parser. It's tutorial is given in w3schools. It is quite easy. But one would like tell you that using built parser you can not take advantage of sencha's...
  3. Replies
    2
    Views
    1,091

    use index of selected item to get record.

    Hi, Friend

    Actually bug in your code is that, itemtag event handler function is called using 3 arguments.You can refer it in api documentation. So handler is called using syntax...
  4. Replies
    2
    Views
    3,089

    Using style config of toolbar you can change color and set image as background image.

    You can change color and any css property of toolbar using style config option.




    var toolbar = new Ext.Toolbar({
    style:{
    background:'none',
    ...
  5. Replies
    3
    Views
    1,353

    You have to deselect item manually.

    Hi,
    There is no clearSelection type config option avalable or anything that automatically deselect item after some time. You have to deselect item manually. I have demo code for that.
    ...
  6. Changing dock of toolbar creates bugs.

    Whenever i am changing dock of toolbar, one div is not removed. That div is creating problems.

    Let we one toolbar




    var toolbar = new Iconbar({
    bgColor:'red',
    items:[
  7. Use callback function to get response.

    Hi,
    In scripttag proxy you need to create 1 callback function. Refer below example,that might can help your problem.


    Here, I have created 1 model and store,use scripttag proxy.

    Code...
  8. Can use Toolbar for that purpose.

    Hi,Friend

    You can use toolbar to show text in middle via title property. Add can add button using items config options.


    And in Panel,

    spacer works like this,
    --...
  9. Replies
    4
    Views
    1,862

    Use text-align in cls of button.

    Hi,

    You can secify text-align using cls property of button. You have specify home-button already. Just add another css
    like

    .home-button span{
    text-align:left;
    }
    or
    .home-button...
  10. use cls confing to add class to rendering el. In class you specify any css property.

    this.box=new Ext.Container({ modal: true,
    floating: true,
    hideOnMaskTap: false,
    width: 200,
    padding: 15,
    cls: 'installme-bubble horizontal-box',
    html: html,...
  11. use cls confing to add class to rendering el. In class you specify any css property.

    this.box=new Ext.Container({ modal: true, floating: true, hideOnMaskTap: false, width: 200, padding: 15, cls: 'installme-bubble horizontal-box', html: html, style:{ top:...
  12. Replies
    3
    Views
    2,121

    setWidth() and setHeight() of panel will work

    Thanks for replying "bassjobsen".

    But toolbar.setWidth() and toolbar.setHeight() is not working. But panel.setWidth() and panel.setHeight() is working.
  13. Replies
    3
    Views
    2,121

    doComponentLayout(int width,int height,bool setSize) will work instead of doLayout().

    Happily i got the solution, we can call doComponentLayout() method instead of doLayout(). And it also safe side to call doComponentLayout() method as stated in api. documentation.
  14. panel.doLayout() method is not working.

    Hi Friend,
    I got one problem, that I have a toolbar added as dockedItem in panel. But when i changed the dock property of toolbar,it is not reflected in screen instantaneously but when i resize the...
  15. Replies
    3
    Views
    2,121

    panel.doLayout() method is not working.

    Hi Friend,
    I got one problem, that I have a toolbar added as dockedItem in panel. But when i changed the dock property of toolbar,it is not reflected in screen instantaneously but when i resize the...
  16. Replies
    1
    Views
    2,253

    Handler property in Button can work as click listener

    I have found the way to handle click event in Button class.

    Just add handler config like
    handler:function(){//do some login}
    will handle click event.

    But still i donot know how to add click...
  17. Replies
    1
    Views
    2,253

    Add click listener to Toolbar.

    Hello Friends,

    I want to add click listener to Toolbar's items. My code is

    var toolbar = new Ext.Toolbar({
    layout:{type:'hbox',align:'top'},
    width:'70px',
    dock:'top',...
  18. Replies
    0
    Views
    532

    Change the items layout in Toolbar.

    I have a toolbar with more than 1 items. By default every items shows horizontally. But , how to show it vertically. I used layout:'vbox' config,but in api it states that it is not supported in...
  19. How to change dock of toolbar in panel? setDocked() method is not working!!

    Want to change the dock position of toolbar, that is added to dockedItems of panel. I am using setDocked() method of toolbar and calling doComponentLayout() method. Toolbar is also docked but it's...
Results 1 to 19 of 19