-
1 Mar 2012 3:35 AM #231
-
20 Apr 2012 3:12 AM #232
Getting TouchGridPanel to work with Sencha touch 2.0
Getting TouchGridPanel to work with Sencha touch 2.0
Hi,
I ws using this control with sencha trouch 1.1
But when i upgraded fro sencha 1. to sencha touch 2.0, it was giving errors
Uncaught TypeError: Cannot read property 'length' of undefined
How do we make it sencha touch 2.0 compatible.
Please help
-
20 Apr 2012 3:53 AM #233Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
Ext.ux.TouchGridPanel only works with Sencha Touch 1. Ext.ux.touch.grid is the Sencha Touch 2 grid: https://github.com/mitchellsimoens/Ext.ux.touch.grid
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
29 May 2012 7:41 AM #234
grid scroll in both direction.
grid scroll in both direction.
Hi there,
I want to scroll my grid in both the direction.
For that in Ext.ux.TouchGridPanel.js file, i have updated scroll: "both",
With this my grid is scrolling, but the header is fixed so only data (rows) are also scrolling.
As a work-around I tried to removed header from docked item and put it as in data-row.
with this I can achieve horizontal scrolling.
But the disadvantage is I lost vertical scrolling. i.e. in vertical scrolling my header is also moving along with data.
Does anybody has any pointers or suggestion?
Thanks in advance.
-
31 May 2012 10:23 AM #235
-
19 Jul 2012 8:15 AM #236
Hi. I am trying to place a grid inside a panel. This panel is used in a card layout which switches depending on user actions. This panel will be used to display customer information. The page is not showing correctly and a grid layout is not present. It looks more like a list. Also the items from the store are not displaying. Can anyone point me in the right direction, please?
Code:Ext.define('GFD.view.CustDetails', { extend: 'Ext.ux.touch.grid.View', paths : { 'Ext.ux.touch.grid': './Ext.ux.touch.grid' }, requires:[ 'Ext.ux.touch.grid.View', 'Ext.ux.touch.grid.feature.Feature', 'Ext.ux.touch.grid.feature.Sorter', ], xtype: 'custdetails', id:'custdetailsPanel', config: { items: [ { xtype: 'spacer', height: '50px' }, { xtype: 'touchgridpanel', title: 'Cust Details', id: 'custGrid', store: 'CustomerStore', columns:[ { header: 'Customer Number', dataIndex: 'cust_no', style: 'padding-left: 1em;', width: '40%', }, { header: 'Order Date', dataIndex: 'order_date', style: 'padding-left: 1em;', width: '40%', }, { header: 'Telephone.', dataIndex: 'tel_no', style: 'padding-left: 1em;', width: '40%', }, { header: 'Contact', dataIndex: 'contact_name', style: 'padding-left: 1em;', width: '40%', }, ], } ], } });
-
15 Nov 2012 9:13 AM #237
MVC example with Touch 2.1 and Sencha CMD.
MVC example with Touch 2.1 and Sencha CMD.
Hi,
I can get all the examples to work with Sencha Touch 2.1, however if I do a 'sencha generate app ...' and copy the example grid mvc code into the CMD mvc structure, it does not seem to work. The app loads fine without errors however the grid data does not actually show data, just the headers. I checked to make sure the store loads and and made sure the Grid.css gets loaded.
Anyone gotten a CMD generated MVC structure to work with the grid?
ThanksAndy
-
16 Nov 2012 8:48 AM #238
Fixed my problem.
In a tabpanel items, this will work:
but this will not.Code:{ title: 'My grid', iconCls: 'action', xtype: 'mygrid' },
Code:{ title: 'My grid', iconCls: 'action', items: [{ xtype: 'mygrid' }] },Andy



Reply With Quote