1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    23
    Vote Rating
    0
    Amarjeetbiet is on a distinguished road

      0  

    Default Search option is not supporting for the PDF file in sencha

    Search option is not supporting for the PDF file in sencha


    hi,
    i want to open a overlay with pdf file on the button click.
    i'm able to do it but seach option is not working seems.
    please help me on this issue.

    my code is:
    for overlay:
    Code:
    Ext.define('InfoImage.common.view.actionItems.HelpOverlay', {
        extend:'Ext.form.Panel',
        require:[
            'Ext.TitleBar',
            'Ext.Button'
        ],
        xtype:'helpOverlay',
        id:'helpOverlay',
        config:{
            xtype:'panel',
            layout:'fit',
            left:100,
            top:50,
            modal:true,
            hideOnMaskTap:true,
            scrollable:true,
            showAnimation:{
                type:'slide',
                direction:'down',
                duration:250,
                easing:'ease-out'
            },
            hideAnimation:{
                type:'slide',
                direction:'up',
                duration:250,
                easing:'ease-out',
                out:true
            },
            width:900,
            height:750,
            centered:true,
            style:'background-color:rgba(0,140,153,0.2)',
    
    
            items:[
                {
                    xtype:'toolbar',
                    ui:'dark',
                    docked:'top',
                    title:'Help',
                    defaults:{
                        ui:'normal',
                        iconMask:true
                    },
                    items:[
                        {xtype:'spacer'},
                        //Button to close the help overlay
                        {
                            xtype:'button',
                            iconCls:'delete2',
                            handler:function () {
                                Ext.getCmp('helpOverlay').hide();
                            }
                        }
                    ]
                },
                //html to open the pdf file in the overlay
                {
                    html:'<div id="scroller" style="height:99%; width: 99%;' +
                        ' overflow: auto;">' +
                        '<iframe width="99%" height="99%" ' +
                        'src="resources/pdfFiles/InfoImage_Mobility_Help.pdf">' +
                        '</iframe></div>'
                }
    
    
            ]
        }
    });
    on button click code:

    Code:
     onHelpTap:function () {
        	if (!this.helpOverlay) {
                this.helpOverlay = Ext.Viewport.add({
                    xtype:'helpOverlay'
                });
            }
            this.helpOverlay.show();
        },
    please help me on this issue....
    Last edited by aconran; 21 Jun 2012 at 10:29 AM. Reason: add code tags

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,733
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    please use the the code block for your code so it's readable. Also you going to need a better description of what your trying to do.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    23
    Vote Rating
    0
    Amarjeetbiet is on a distinguished road

      0  

    Default Search text option

    Search text option


    I,m developing application for iPad using sencha touch-2 .I want to open pdf file in a overlay on the button click. i'm able to do that using above code but pdf file loading is taking time. How can i improve the file loading. I also want search text option as in pdf file supported. how can i do this.
    Please give me suggestion.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar