Search Type: Posts; User: Ant1105

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. If you take a look at the docs for Ext.form.Basic, you can actually submit a form using an ajax config. For example:



    basicInfo.getForm().submit({
    url: '/service/YourSpringService',
    ...
  2. I encountered the same issue. I referred to the following thread to fix. You have to uninstall the latest version of SASS and roll back to earlier version, 3.1.1. There looks to be an open ticket...
  3. Replies
    522
    Views
    113,033
    In the docs, it states the events "cardswitch" and "beforecardswitch". In the code inside the setActiveTab method, the events are actually "tabchange" and "beforetabchange".



    setActiveTab:...
  4. Condor, any plans for an ExtJS 4 release of this plugin?
  5. You can use the Ext.util.TextMetrics class to find the width of blocks of text.

    http://www.sencha.com/deploy/dev/docs/?class=Ext.util.TextMetrics
  6. Replies
    2
    Views
    671
    You will have to change a bit about how you defined your custom toolbar. Also, you will need to put your toolbar inside of another container, like a Panel.
  7. Replies
    3
    Views
    3,022
    You could apply a css config about to your column you would like to bold. You could also define a renderer for your column. I would probably do the css route...


    .bold-me {
    font-weight:...
  8. Replies
    8
    Views
    1,019
    Check out the docs for TreeLoader. It is expecting an array of tree node objects...

    http://www.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeLoader
  9. {id: 'yourColumn', header: 'Your Column', renderer: function(val) { return Ext.util.Format.ellipsis(val, 20); }}
  10. Replies
    3
    Views
    1,629
    You could just define an inline method with your XTemplate. Check out the docs of XTemplate to see some examples:



    var tpl= new Ext.XTemplate(
    '<tpl for=".">',
    '<div...
  11. Replies
    3
    Views
    887
    Just have a window with a layout of border and a west and a center.



    var win = new Ext.Window({
    layout: 'border',
    width: 500,
    height: 400,
    items: [{
    region: 'west',
  12. Replies
    2
    Views
    893
    If you look at the methods inside of the GroupSummary, there is one called getSummaryNode. This will give you the bottom DOM portion that makes up the summaries. Then you could simply traverse the...
  13. var store = new Ext.data.JsonStore({
    url: this.dataUrl,
    autoLoad: true,
    root: 'data',
    totalProperty: 'count',
    fields: ['id', 'name']
    });


    I would...
  14. Sounds like you are trying to do something like this...



    var obj1 = {
    firstName: 'Foo',
    lastName: 'Bar',
    address: {
    address1: '1234 Something Lane',
    city: 'Some...
  15. Replies
    4
    Views
    985
    Yes, I would do it the way Condor said too. Check out the XTemplate docs.
  16. Replies
    1
    Views
    680
    Did find a temporary fix by just adding a delay to my beforeload event of my extended TreePanel...


    this.loader.on('beforeload', this.onBeforeLoad, this, {delay: 50});
  17. Replies
    1
    Views
    680
    Has anybody seen this issue before with a LoadMask? The component by itself renders correctly, but when in a Viewport, the LoadMask is shifted up.

    20863
  18. Switching cards does not take a long time. Performance is more an issue in, of course, IE. I'm just more concerned as the application runs over time, trying to keep it as lightweight as possible.
    ...
  19. This is more of just a performance/best practice question. I am just curious to see what other people might be doing in this situation. Essentially I have a main CardLayout where each card contains...
  20. root: new Ext.tree.AsyncTreeNode({
    expanded: true,
    text: 'root',
    children: [{
    text: 'folder1',
    leaf: false,
    children: [{
    ...
  21. You should provide example code so we can see how you are rendering your form.

    In my case, it was just a simple combo getting rendered into a hidden div.



    <div style="display: none;"> <!--...
  22. Are you rendering them into a div with a display of none before you use them? I noticed the same thing. Try changing to display of block and see if that helps.
  23. Thx Clint, that fixed it!
  24. I have seen a similar problem as well with an Ext.Window. This code worked in 2.2, but in 3.0 throws a firebug error. Seems to do it only with an anchor of 'tr'. All the others work fine. ('tl',...
  25. Replies
    445
    Views
    101,095
    [RESOLVED]

    Small typo in the Ext.invoke method docs (Ext-more.js, Line 416)

    @param {String} The method name to invode <-- Should be invoke
Results 1 to 25 of 47
Page 1 of 2 1 2