PDA

View Full Version : Grid not loading even after store loads



21 Mar 2014, 3:42 AM
Hi all,

I have grid panel inside a form panel, I would like to load grid and form simultaneously.
For this i use this,

myForm.loadRecord(formObj);
myStore.loadData(storeObj);

The store loading fine but the grid is not loading. My grid having summary feature and it is showing correct summary without loading records in to grid.

It works fine in EXT 4.0.2,
but i'm upgrading my ext version 4.1.2, then the issue raised.

hpet
21 Mar 2014, 5:19 AM
Be sure to have correct root element, field names and dataIndex.
It is preaty standard stuff, so it is most likely a silly thing like this.

21 Mar 2014, 5:32 AM
In the below grid attachment,
Store having 10 records but none of them are showing in the grid.

48400

hpet
21 Mar 2014, 5:41 AM
what is your store and grid config?

21 Mar 2014, 5:47 AM
Thanks hpet (http://www.sencha.com/forum/member.php?27328-hpet) ,

Here is the problem, dataindex of one column is not defined in store model.
But i don't know how it worked in EXT 4.0.2

hpet
21 Mar 2014, 5:51 AM
Maybe something changed in versions. Wouldn't know.
Is it working now?

21 Mar 2014, 5:53 AM
Yes, its working fine