Monday, January 31, 2011

Adding some info to grid on Ext Designer

On the Data Stores tab add an ArrayStore. Then add , i.e. 4 , fields right clicking on "My Store>add fields>4 fields". On the Component config option, filter the "data" property, and the put this in the box as the value:

[["data1", "data2", "data3", "data4"],["data1", "data2", "data3", "data4"]]

Then, go to "Components > My Grid", and filter the "store" property and put the name of your store (i.e MyStore ). Come back to the Data Stores tab and over the store press right click and select the option "Load Data"


No comments: