Hybrid View
-
26 Nov 2011 10:34 PM #1
Unanswered: Creating linkedin like Inbox Menu in Ext JS 4
Unanswered: Creating linkedin like Inbox Menu in Ext JS 4
I found if i could create LinkedIn.com like Inbox[4] menu in Ext JS. Along with Invitation Person Picture, basic details and accept / reject option.
I had stared writing basic code in Ext JS 4 but dont have idea how to achieve this. An idea will be appreciated.Code:toolbar.add ( '-', { text:'Inbox', iconCls:'inbox-icon', menu: { items: [ { xtype:'label', html:'<img src="images/brComms.jpg" />' } ] } } );Farrukh Naveed Anjum
Team Lead (Software Engineer)
-
27 Nov 2011 6:27 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 434
- Answers
- 3102
So all you want is to be able to append '[4]' to a button?
Should do that, you just have to get the number and inject it.Code:button.setText('Inbox [4]');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.



Reply With Quote