Extjs change contents of a panel with a combobox values

Tuesday, September 10, 2013

I need to show different php pages in a frame on the body of a tab. The name of the php pages should be selected from a dropdown menu on the toolbar.
I have already made the combobox but how can I call specific php pages and show them inside a frame on the same tab?

report_store = Ext.create('Ext.data.Store', {
        fields: ['name','label'],
        data : [
            "label":"Data Summary",
            "value":"Data Summary"
            "label":"SROI Reports",
            "value":"SROI Reports"
            "label":"Outputs Reports",
            "value":"Outputs Reports"
            "label":"Outcomes Reports",
            "value":"Outcomes Reports"
            "label":"Longitudinal Reports",
            "value":"Longitudinal Reports"
ReportTab.prototype.getToolbar = function() {
    var _this = this;

    var toolbar = Ext.create('Ext.toolbar.Toolbar',{
        items: [
            id: _this.report_combo_id,
            labelWidth: 70,
            fieldLabel: 'Report Type',
            store: report_store,
            queryMode: 'local',
            displayField: 'label',
            valueField: 'name'

You received this message because you are subscribed to the Google Groups "JavaScript Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascript-information+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Post a Comment

Note: Only a member of this blog may post a comment.

Copyright © 2010 Web Design | Free Blogger Templates by Splashy Templates | Layout by Atomic Website Templates

Vida de bombeiro Recipes Informatica Humor Jokes Mensagens Curiosity Saude Video Games Animals Diario das Mensagens Eletronica Rei Jesus News Noticias da TV Artesanato Esportes Noticias Atuais Games Pets Career Religion Recreation Business Education Autos Academics Style Television Programming Motosport Humor News The Games Home Downs World News Internet Design Entertaimment Celebrities 1001 Games Doctor Pets Net Downs World Enter Jesus Mensagensr Android Rub Letras Dialogue cosmetics Genexus lasofia thebushrajr wingshock tripedes gorduravegetal dainfamia dejavu-transpersonal jsbenfica republicadasbadanas ruiherbon iranianforaryans eaystcheyl fotosdanadir Só Humor Curiosity Gifs Medical Female American Health Madeira Designer PPS Divertidas Estate Travel Estate Writing Computer Matilde Ocultos Matilde futebolcomnoticias girassol lettheworldturn topdigitalnet Bem amado enjohnny produceideas foodasticos cronicasdoimaginario downloadsdegraca compactandoletras newcuriosidades blogdoarmario arrozinhoii