I'm trying to do the following example Employee Birthday locate on this url : http://examples.sencha.com/coworkee/#home , but I do not know to much ext js and their methods or events can someone can help me please.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Here's the: FIDDLE
Theme on the site(you gave as an example) is Triton
and it loads fonts itself.
I used Ext.view.View. You must pass Ext.XTemplate and store with data. So you can populate cards.
For styles open index.html
.
Background color of the iframe(there where view is shown), when you switch to Triton
, changes to the same color as it was given in your example(#f5f5f5
) and because of this there difference may can't be seen, so here's the preview:
EDIT:
I made another fiddle where you can populate cards, added some XTemplate
functions to differ colors and text according to event type:
FIDDLE