Recent Posts

Pages: 1 ... 8 9 [10]
91
Help for ParamQuery Pro / Re: 2 type editor in 1 column
« Last post by paramvir on April 23, 2021, 10:32:49 am »
Code: [Select]
editor: {
  options: ['yes', 'no' ]
}
92
Help for ParamQuery Pro / Re: 2 type editor in 1 column
« Last post by atmaneuler on April 23, 2021, 06:06:12 am »
If I want selectbox has 2 options (YES and NO). How do I code? Help me, please
93
Help for ParamQuery Pro / Re: Does not filter on the formatted price
« Last post by paramvir on April 21, 2021, 11:01:57 pm »
1. No

2. Please use dataModel.getData callback.
94
Help for ParamQuery Pro / Re: Does not filter on the formatted price
« Last post by mscodigno on April 21, 2021, 12:00:33 pm »
1. I want it to appear formatted in the edit box as well. Can i do that?

2. How can I do for remote data?
95
Help for ParamQuery Pro / Re: Does not filter on the formatted price
« Last post by paramvir on April 20, 2021, 10:00:25 pm »
Formatted values can be converted back to numbers with pq.deFormatNumber method.

Code: [Select]
    var dataModel = {
      data: data.map(function(rd){     
        rd.unitePrice = pq.deFormatNumber(rd.unitePrice, "#.###,00");
        return rd;
      })
    };

https://jsfiddle.net/eu5jkphm/
96
Help for ParamQuery Pro / Re: 2 type editor in 1 column
« Last post by paramvir on April 20, 2021, 06:11:29 pm »
conditional editor type can be defined by implementing column.editor.type callback

Code: [Select]
editor: {
    type: function (ui) {
        if (ui.rowIndx == 5) {
            return "select"
        }
        else {
            return "textarea";
        }
    },
    ...
}

Reference: https://paramquery.com/pro/api#option-column-editor
97
Help for ParamQuery Pro / Does not filter on the formatted price
« Last post by mscodigno on April 20, 2021, 01:19:47 pm »
Hello, the price field comes from the database in the format '#. ###, 00'. I cannot use the filtering feature in this column. What should I do?

https://jsfiddle.net/zekeriyaerogluu/kqmzv45u/31/
98
Help for ParamQuery Pro / 2 type editor in 1 column
« Last post by atmaneuler on April 20, 2021, 12:51:05 pm »
- I have 1 column and 7 rows in that column, i want row 0, 1, 2, 3, 5, 6, 7 to be of type Text and row 4 to be of type Select.
How will I do it?
99
Hello Team,

We have % Spent column (calculated as % Spent = Cost (H) / Budget (F) in rendering function) in paramquery grid.

% Spent is dependent on Budget & Cost Column.

Now when we are trying to see it in the Pivot mode then it is showing 0 in each cell of % Spent column instead of calculating its value its value.

 Can You please help me to give a solution for it?

100
Hello Team,

We a have paramquery grid with some numerical records with Budget Class (column) = "Budget" and some with Budget Class = "Portfolio" .
We are calculating the summary row as Total Budget remaining = Sum of Portfolio records - Sum of Budget records in Normal Mode of Grid.

Now when we are tying to calculate Total Budget remaining in Pivot mode of Grid then it is not calculating and showing blank in grand summary row.

Can we able to custom calculate it in Pivot mode too ? Please help us to resolve the issue.
Pages: 1 ... 8 9 [10]