zoukankan      html  css  js  c++  java
  • 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) + '%');
    };

  • 相关阅读:
    线段树区间最大子段和
    NTT数论变换
    cdq分治·三维偏序问题
    线段树区间开方
    怎么联系$zcy$呢?
    题解 CF375D 【Tree and Queries】
    点分治模板
    Good Bye 2018题解
    Hello 2019题解
    Codeforces Round #525 (Div. 2)题解
  • 原文地址:https://www.cnblogs.com/ahghy/p/3688047.html
Copyright © 2011-2022 走看看