Ext.net Calendar 控件在有模板页的时候,模板页定义了TD的样式造成日历控件的样式丢掉

Ext.net Calendar 控件在有模板页的时候,模板页定义了TD的样式造成日历控件的样式丢掉

解决方案

          在本页面添加下面的样式     

<style type="text/css">
.ajax__calendar td
{
padding: 0px !important;
border: none !important;
background-color: Transparent;
font-size: 11px !important;
}
</style>

.ajax__calendar td
{
padding: 0px !important;
border: none !important;
background-color: Transparent;
font-size: 11px !important;
}

模板页的 ID 会改变掉,使用如下

var tipRenderer = function(storeItem, item) {
//calculate percentage.
var total = 0;
var abc = 0;
//App.Chart1.getStore().
//"#App.ctl00_cphMainRight_Chart1"
App.ctl00_cphMainRight_Chart1.getStore().each(function(rec) {
total += rec.get('Total');
});

this.setTitle(storeItem.get('SoftName') + ': ' + Math.round(storeItem.get('Total') / total * 100) + '%');
};

原文地址:https://www.cnblogs.com/ahghy/p/3688047.html