Ext.Container Display Card of Employee Birthday [closed]

时间秒杀一切 提交于 2019-12-13 09:57:22

问题


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



来源:https://stackoverflow.com/questions/52562282/ext-container-display-card-of-employee-birthday

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!