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 8625101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:41:55+00:00 2026-06-12T07:41:55+00:00

I have a simple grid with the following code (along with the code of

  • 0

enter image description here

I have a simple grid with the following code (along with the code of store and model).

var containerDetailsGrid = Ext.create('Ext.grid.Panel', {
    store: storeVarContainerDetails,
    tbar:[
        {
            xtype:'tbtext',
            text:'Container Details'
        }
    ],
    columns: [
        {
            header     : 'Ctr Size',
            flex     : 1,
            dataIndex: 'ctrSize',
            autoExpand:true,
            align:'center'
        }
    ],
    height: 100
});

var storeVarContainerDetails = Ext.create('Ext.data.Store', {
    model: 'VoyageMonitoringContainerDetailsModel',
    proxy: {
        type: 'ajax',
        url: 'http://localhost/pnc/stores.php',
        extraParams:{
            action:'containerDetails'
        },
        reader: {
            type: 'json'
        }
    },
    autoLoad:true
});

Ext.regModel('VoyageMonitoringContainerDetailsModel', {
    extend: 'Ext.data.Model',
    fields: [
        {type: 'string', name: 'ctrSize'}
    ]
});

The store is getting loaded and fetching the data but this data is just not getting displayed or actually is being visible in the grid.

When I inspect the grid element in DOM, then I can see the data to be there in ‘td’ of grid table, but that data is just not getting displayed.

There are other grids too on the page but all are displaying the data except this one. Also, there is no error being throw in console too.

Could anyone please throw some light at this that why it could be happening? Attached is a screen shot for more clarity.

PS: I am using ExtJS 4.

  • 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-12T07:41:57+00:00Added an answer on June 12, 2026 at 7:41 am

    Posting the solution as an answer here so that it can help someone looking for the same and also I can mark this question as answered. The solution is – a grid should not be made the child of a container in a form, rather should be the child of fieldset in the form. I don’t know the reason behind this, but works well for me. Hope this helps someone else too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple xaml control with the following Grid Row definition: <Grid.RowDefinitions> <RowDefinition
Trying to run a very simple flot.js example, I have the following code to
I have the following simple code (see below) I copied from a book. But
I have the following code in my XAML: <ItemsControl ItemsSource={Binding Dimensions}> <ItemsControl.ItemTemplate> <DataTemplate> <Grid>
Say I have a very simple WPF grid (6 rows x 6 columns) defined
I have a simple in-line edit in my grid, and I want to commit
I have a simple question. Can a grid automatically resize the objects in it
I have made a simple Line Chart: Which is showing 4 grid-lines at points
I have a grid view that has two simple columns, a report number and
In simple game, where map (terrain) is divided in grid cell I have soldier

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.