Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 徐雪峰

Pages: [1] 2 3 4
1
Help for ParamQuery Pro / Re: about column head align
« on: October 16, 2020, 06:54:18 am »
 i hope the [金额]  align is center,but the data is align to right.
i have tryed the align property, and i also tryed use the clsHeader property,
but it seems to don't display as my hope.

2
Help for ParamQuery Pro / about column head align
« on: October 15, 2020, 08:07:05 am »
I  want the text of column head  align to center,
but the data align to right.
do you know how to do it?

3
Help for ParamQuery Pro / Re: about column width
« on: October 15, 2020, 07:52:51 am »
sorry, maybe i don't say it clear.
i want the column width to fit the the length of the column value.
for example , when "AA", the column width is fit to "AA",when "AAA",the column width is fit to "AAA".
but it is not nessary to fit the view. the width of grid can longer than the view.
i just want every column width fit it's value length.
is there any way to do it?

4
Help for ParamQuery Pro / Re: about column width
« on: October 13, 2020, 03:54:53 pm »
no ,for example,i hope when a value is 100,the column width is 15px,when then value is 10000,the column width is 25px.
is there any way?

5
Help for ParamQuery Pro / filter group
« on: October 10, 2020, 07:55:22 am »
my filter is like the code down, 
filter: { crules: [{ condition: "range" }], groupIndx: "monthname"}
i hope can filter: { crules: [{ condition: "range" }], groupIndx: ["yearname","monthname"]}
is there any way to do it?

6
Help for ParamQuery Pro / about column width
« on: October 10, 2020, 07:08:53 am »
is there any way to set the column width to fit the max length value auto?

7
Help for ParamQuery Pro / Re: how to define menuicon item
« on: October 09, 2020, 03:59:00 pm »
ok, thanks.

8
Help for ParamQuery Pro / how to define menuicon item
« on: October 09, 2020, 01:02:26 pm »
i want first menuicon of column  show hide/unhide tab,and anther column don't show the menuicon tab.
but i hope all column's menuicon can have the filter tab.
is there any to do this?

9
Help for ParamQuery Pro / Re: how to control the menu item in the pic
« on: September 11, 2020, 11:44:11 am »
 sorry, i fount a code like menuItems: ['grandSummary'],

10
Help for ParamQuery Pro / Re: how to control the menu item in the pic
« on: September 11, 2020, 11:40:18 am »
but it is seem like there is no code about the groupModel.headerMenu and groupModel.menuItems in the sample .
why?

11
Help for ParamQuery Pro / how to control the menu item in the pic
« on: September 10, 2020, 04:07:35 pm »
i don't know how to display the icon and how to set the item value by code

12
Help for ParamQuery Pro / can excel formular sum only filter data
« on: August 08, 2020, 07:32:28 pm »
i want write a excel formular to sum a column's data,but the summary don't include the hidden cells of the column.
is there any way to do it?

13
my formulas is under.
formulas: [['rchRate04', function (rd) {
            var total;
            if (rd.Cur04Sum != 0) {
                total = rd.Cur04Sum / rd.Cur04Sum;//预算实绩比
            } else {
                total = 0;
            }
            return isNaN(total) ? "" : total;
        }],
        ['CurYearRate04', function (rd) {
            var total;
            if (rd.Last04Sum != 0) {
                total = rd.Cur04Sum / rd.Last04Sum;//前年比
            } else {
                total = 0;
            }
            return isNaN(total) ? "" : total;
            }],
and the under is my colModel:
{
            title: '第三半期(4-6月)', width: 130, align: "center", collapsible: { last: true, on: true },
            colModel:
                [{ title: "预算", align: "center", dataIndx: "YuSum4_6", dataType: "float", format: '$##,###.00', width: 120 },
                { title: "实绩", align: "center", dataIndx: "ShiSum4_6", dataType: "float", format: '$##,###.00', width: 120 },
                {
                    title: "达成率", align: "center", format: '###.00%', width: 120, dataIndx: "rchRate4_6"                   
                },
                { title: "前年", align: "center", dataIndx: "LastShiSum4_6", dataType: "float", format: '$##,###.00', width: 120 },
                { title: "前年比", align: "center", format: '#####.00%', width: 120, dataIndx: "CurYearRate4_6" }
                ]
        }
whatever i try,i cann't see the result of the formula.

14
i want see the site of http://jsfiddle.net/dhnygcmf/2/,but i cann't see it ,maybe it cannot open in china.

15
the fomular can not caculate  the data of summary row?
is there any method?

Pages: [1] 2 3 4