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

  • Home
  • SEARCH
  • 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 6153027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:01:25+00:00 2026-05-23T20:01:25+00:00

Its been quite sometime, I’ve been evaluating ExtJs Grid. So far so good and

  • 0

Its been quite sometime, I’ve been evaluating ExtJs Grid. So far so good and I love the control and API. I have some genuine doubts regarding deploying ExtJs Grid in production environment. Here they goes:

How can I deploy ExtJs Grid into a large-scale project? Suppose I have a huge project, which contains more than 100 Grids. In that case, how can I handle those Grids?

  1. Do I have to maintain seperate JavaScript file for each grid? That means, If I have 100 grids, do I need to maintain 100 JS files?
  2. Do I have to maintain a wrapper JS file, which can create all those my 100 Grids, as per ther arguments that I pass to a method?

Which one is better? Or is there any better methods available? Can someone please shed some info on deploying ExtJs Grid in a large-scale project?

Any help will be appreciated.
Thanks!

  • 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-05-23T20:01:26+00:00Added an answer on May 23, 2026 at 8:01 pm

    Can you explain your project? 100 grids or 100 models/datastores?

    I would create a database with model/source/grid column definitions, and build the ext grids dynamically by mapping the data with json. This is pretty trivial once you make a beforeRender listener that has a ajax request within it, then in the success routine of the ajax you create or populate the model/source/grid definitions and … done.

    You can see this technique (non grid) for example …

    var areaEast = Ext.create('Ext.Panel', {
        region: 'east',
        collapsible: true,
        split: true,
        width: 200,
        title: 'east',
        items: [ ],
        layout:'accordion',
        autoScroll: true,
        listeners : {
            beforeRender : function() {
    
                Ext.Ajax.request({
                    url: './js/tabs.pl',
                    disableCaching: false,
                    success: function(response){
                        var text = Ext.decode(response.responseText);
    
                        Ext.each( text.rows, function(row, index) {
                            areaEast.add( row );
                        });
                    },
                });
    
            },
        },
    });
    

    … and some json like what follows will produce a couple of ext items[] on the fly …

    Content-Type: application/json
    
    {"rows":[{"html":"str_0.720264353647025","iconCls":"ico_home","title":"tab_1","xtype":"panel"},
     {"html":"str_0.967244391419577","iconCls":"ico_gear","title":"tab_2","xtype":"panel"},
     {"html":"str_0.713014552355148","iconCls":"ico_home","title":"tab_3","xtype":"panel"},
     {"html":"str_0.0254531761575763","iconCls":"ico_gear","title":"tab_4","xtype":"panel"}]}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Its been quite some time since i have started developing web pages using JSF
Its been a while since I had to do some Java/JSP... I have a
I have been using the fantastic jQuery library for quite some time and have
I have been working in C# for quite some time but come around this
I've been using font-squirrel for quite sometime and was really happy with its generator
Scenario: I have been using Java SE for quite some time, working with threads
It's been quite some time, I have been programming in C/C++, but some areas
Good Morning All, I've been a PHP programmer for quite some time, but I've
I have been using WPF and its built in validation controls for quiet sometime.
Its been a while I have ready Mcconnell's Code Complete . Now I read

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.