1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Argentina
    Posts
    36
    Vote Rating
    0
    gustavo21 is on a distinguished road

      0  

    Default Export Grid to Excel - Extjs + Air

    Hi, i have an App working ok in Explorer, FF5, NetScape and Chrome. But When i open it in Air, i cannot export the grid to excel...

    My air app just have an iframe to the server:
    PHP Code:
    Ext.onReady(function() {
            new 
    Ext.air.Window({
            
    winwindow.nativeWindow,
            
    width1100,
            
    height768,
            
    layout'fit',
            
    iconCls:'icon-grid',
            
    title'Consulta',
            
    html'<iframe id="container" src="http://192.168.9.99/mantenimiento/index.html" style="width:100%;height:100%;border:none"></iframe>'  
                          
        
    });
    }); 
    I have several apps running like that, but it's the first time i add a button to export or interact to another windows app.

    The Grid to Excel Plugin:
    http://www.sencha.com/forum/showthre...ectly-to-Excel.

    Thanks in advance!!

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    307
    Vote Rating
    65
    Ekambos is just really nice Ekambos is just really nice Ekambos is just really nice Ekambos is just really nice

      0  

    Default

    This is because AIR does not support DATA URI.
    If you want to export to Excel in AIR try as3xls.

Thread Participants: 1