Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9076513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:07:31+00:00 2026-06-16T19:07:31+00:00

I am new to ExtJS and I encountered a similar problem from Sencha forum

  • 0

I am new to ExtJS and I encountered a similar problem from Sencha forum which was left unsolved.

This is the link to the problem

Basically, What I want to do is open a desktop window module app displaying the data selected on the grid. I already created the same window displayed on the link. We have quite the same code so I think there’s no sense on posting my code here. Any help will be appreciated. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:07:33+00:00Added an answer on June 16, 2026 at 7:07 pm

    I don’t think you are right about the code thing… But anyway, the code of this guy is a mess and mitchel already answered how it should be done. So forget about the code of the guy for a second, cause it is really simple to archive this.

    Here’s a working snipped how you can do this:

    Ext.define('Ext.ux.DemoWin', {
        extend: 'Ext.window.Window',
        alias: 'widget.demowin',
        width: 200,
        height: 200,
        title: 'demo',
        initComponent: function() {
            this.callParent(arguments);
        },
        loadRecord: function(rec) {
            // simplified - just update the html. May be replaced with a dataview
            this.update(rec.data.name + ' - ' + rec.data.email);
        }
    });
    
    Ext.create('Ext.data.Store', {
        storeId:'simpsonsStore',
        fields:['name', 'email', 'phone'],
        data:{'items':[
            { 'name': 'Lisa',  "email":"lisa@simpsons.com",  "phone":"555-111-1224"  },
            { 'name': 'Bart',  "email":"bart@simpsons.com",  "phone":"555-222-1234" },
            { 'name': 'Homer', "email":"home@simpsons.com",  "phone":"555-222-1244"  },
            { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"555-222-1254"  }
        ]},
        proxy: {
            type: 'memory',
            reader: {
                type: 'json',
                root: 'items'
            }
        }
    });
    
    
    Ext.create('Ext.grid.Panel', {
        title: 'Simpsons',
        store: Ext.data.StoreManager.lookup('simpsonsStore'),
        columns: [
            { text: 'Name',  dataIndex: 'name' },
            { text: 'Email', dataIndex: 'email', flex: 1 },
            { text: 'Phone', dataIndex: 'phone' }
        ],
        height: 200,
        width: 400,
        renderTo: Ext.getBody(),
        listeners: {
            // the registration should be done with the control() method of the responsible controller
            itemclick: function(grid,record) {
                var win = Ext.widget('demowin').show().loadRecord(record);
            }
        }
    });
    

    And here’s a JSFiddle

    Edit which applies to Ext.ux.desktop.Module

    createWindow : function(){
        var desktop = this.app.getDesktop();
        var win = desktop.getWindow('grid-win');
        if(!win){
            win = desktop.createWindow({
                // ...
                loadRecord: function(rec) {
                     this.update(rec.data.name + ' - ' + rec.data.email);
                }
      //....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to ExtJs and I am trying to follow this tutorial: http://docs.sencha.com/ext-js/4-0/#!/guide/application_architecture
I am very new to ExtJS and still going through the Docs in Sencha
I am new at Extjs and Sencha. i started to design my UI and
I'm new to ExtJS and have the following problem: I have one class LoginWindow,
I am new to ExtJS. I want to implement two tables. First one will
I am new to extJs. I want to make the border of a textarea
I am creating a new ExtJS widget using Ext.view.View. The template for this view
I am new to ExtJS and I want to add something like a favorite
Im learning Extjs and have a problem , when i try to append new
I want to allow users to create new records and edit existing records from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.