Documente Academic
Documente Profesional
Documente Cultură
Blog Sitemap
Sencha Touch 2 List example with buttons such as Add, Delete, Edit
Recommend this on Google
In this example we are going to display a List of countries along with a button. In the controller we are going to capture the itemptap event and then check whether the button was clicked or the whole row was tapped so we can take the proper action. Adding custom buttons to the list such as Add, Delete, Edit etc. we can program different actions after user taps on these buttons. For back-end programing for this example please refer to the link below... Sencha Touch 2 List examples using Java Servlet and MySQL database
Popular Posts Android programmatically add views - Button, TextView, EditText, RadioButton, CheckBox, ToggleButton Android barcode scanner using Zxing ExtJs 4 Tree Panel sample code - Java Servlet JSON and MySQL Android SQLITE query selection example Android LayoutInflater - Dynamically Add and Remove Views using Java code
ExtJs 4 Grid Grouping and Summary example Expand and Collapse all Android parse XML file example using SAX Parser
Android JSON parsing Tutorial using Java Servlet and MySQL database Generate large EXCEL in java using Apache POI SXSSF implementation and avoid java.lang.OutOfMemoryError
Recent Posts
Android Generate QR code using ZXing library QR code short Quick Response Code is a twodimensional matrix type barcode. Designed by the automotive industry in Japan has Generate QR code using Java Example QR code short for Quick Response Code is a two-dimensional matrix type barcode. Initially designed for the automotive industry has Android WebView Example Android WebView is an extension of the View class that helps display web content. You can have the web view
Search/Filter data using Java String indexOf() method Here is an example using Java String indexOf() method to create a search similar to Google where you put a Android Read Excel File from Website and display using a ListView In this example we start the activity by making a HTTP request to read the Excel file hosted on a
www.mysamplecode.com/2012/05/sencha-touch-list-button-example.html
1/3
1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9
cnrles [DtVeDm', otolr: 'aaiweo] luc:fnto( { anh ucin) cnoelg'plcto luc'; osl.o(Apiain anh) Etcet(EtCnanr,{ x.rae'x.otie' flsre:tu, ulcen re lyu:'bx, aot vo' ies [ tm: { fe:1 lx , xye 'anae' tp: miPnl } ] }; ) } }; )
}; )
} } }; )
www.mysamplecode.com/2012/05/sencha-touch-list-button-example.html
2/3
2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7
oAtvt:fnto( { nciae ucin) cnoelg'ancnanri atv'; osl.o(Mi otie s cie) } , oIeTp fnto(iw idx tre,rcr,eet { ntma: ucinve, ne, agt eod vn) cnoelg'tmwstpe o teDt Ve'; osl.o(Ie a apd n h aa iw) cnoelgve,idx tre,rcr,eet; osl.o(iw ne, agt eod vn) i(vn.agttp = "utn) feettre.ye = bto"{ EtMgaet'o cikdo teBto .., x.s.lr(Yu lce n h utn .' 'h cutycd slce i:'+eettre.ae; Te onr oe eetd s vn.agtnm) } es { le EtMgaet'o cikdo teRw.., x.s.lr(Yu lce n h o .' 'h cutycd slce i:'+rcr.e(cd') Te onr oe eetd s eodgt'oe); } } , }; )
Tutorial Tags: List, Sencha Touch Did you find this article helpful? Share it!
Related Posts
Sencha Touch 2 Nested List Example using Java Servlets, JSON and MySQL data Sencha Touch 2 Search Field Example - Filter a Data List Android Read Excel File from Website and display using a ListView Android ListView Checkbox Example - OnItemClickListener() and OnClickListener() Android Listview Example using CursorAdapter and SQLite database
1 comment:
Anonymous August 1, 2012 3:14 PM Beautiful! Ive been looking all around for a way to handle events on a button inside a list, and you just gave me the answer Reply Etryu cmet. ne or omn..
Newer Post
Home
Older Post
Powered by Blogger.
www.mysamplecode.com/2012/05/sencha-touch-list-button-example.html
3/3