View Full Version : How to make good use of "List API"?

13 Jul 2010, 3:09 PM

I`m still wondering in "List API".

Suddenly, I have some questions.

Q1. I want to make list like this.

name | age | gender
sencha | 10 | M
noti | 11 | M
android | 15 | F
money | location | school
10$ | America | University
20$ | Japan | Middle

In other words, One list include 6 item headers. They are separated two groups.

And each header related items are located below header.

Surely, one list can be moved by one touching screen.

Can I make list above list?


Q2. Can I edit a specific row data on operating program by user?

For example, at above list, I want to edit 'noti' to 'notinotinoti'.

Can I?


Q3. Or can I use other API instead of List for making above those?


Sorry, I wrote this again.

I want to get answer quickly, because I have to know answer by today. :((

Please help me~!

14 Jul 2010, 12:13 PM
Sorry for not getting back to you on the same day. The functionality that you are trying to implement is closer to a Grid then a List. At this moment we dont have a List that is advanced enough to be able to achieve this. We are planning on having a touch optimized grid in a future version (probably 1.1) of Sencha Touch. Hope this answers your question.

14 Jul 2010, 3:24 PM
I understand your message.

Can I know when version 1.1 of Sencha Touch will release?

I want to use as soon as possible. :-)

And I have other question.

Can I use "Ext Js" API and "Sencha Touch" at the same time?

Because I want to use Grid View and Touching screen.

15 Jul 2010, 11:17 AM
No, they are separate products. The grid in Ext JS is not optimized for touch devices. We are planning on releasing 1.0 by the end of this month or beginning of next. Usually we have a 3 month cycle for minor releases, so 1.1 would be somewhere in November. We might release an alpha version of a grid-like component in between 1.0 and 1.1 so that people can test it before it goes into the library.

20 Sep 2011, 12:54 PM
1.1 is out but doesn't have the grid, as far as I can tell. I'm trying to make a grid myself and it is nasty... lot of nested panels that can't be optimal from a performance standpoint.

21 Sep 2011, 10:59 AM
Waiting for an official component, you can take a look at this good Ext.ux.TouchGridPanel component developed by mitchellsimoens.


Hope this helps.