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 - ntoscano

Pages: [1]
1
ParamQuery Pro Evaluation Support / Multiple formats in same column?
« on: November 09, 2016, 05:31:55 am »
Hello, from looking at http://paramquery.com/pro/demos/edit_filter you can set a filter on a column, but is there a way to support multiple filters on the same column?

would it be possible to do something like:
format: (ui) => {
                                var format;
                                for (var x in ui.rowData.ers_cellcls[ui.dataIndx]) {
                                    format = ui.rowData.format;
                                }
                                return format;
                            }

similar to how the render function works?

2
ParamQuery Pro Evaluation Support / Re: Possible bug? (merged cell issues)
« on: November 02, 2016, 11:56:38 pm »
Thanks a bunch, that answers my question.

3
ParamQuery Pro Evaluation Support / Possible bug? (merged cell issues)
« on: November 02, 2016, 01:55:24 am »
Hello, I was playing with the merged cell example found here: http://paramquery.com/pro/demos/merge_colspan, and I noticed something strange.

The first merged cell area is {r1: 0, c1: 2, rc: 4, cc: 5 }, but if you look at the UI, the there are only 4 columns merged.
When I set 'cc' to 4, there were only 3 columns merged.
When I set 'cc' to 3, there were only 2 columns merged.
But when I set 'cc' to 2, there was no change, i.e. there were 2 merged columns.
and when I set 'cc' to 1, there was only 1 column of merged cells.

Can you guys explain the logic of the 'cc' option?

5
If a particular cell in a row as multiple styles ( bold, underline, top-align, etc..), how can you add the individual classes to the cell?
I've tried the following structure with no success:
Code: [Select]
var data = [
    {rank:4, company:'BP', revenues:'267,600.0',profits: '22,341.0', pq_rowcls: "red", pq_cellcls: { "company": { color : "green", bold: true} },
    {rank:5, company: 'General Motors',revenues: '192,604.0', profits:'-10,567.0'},
   
];

6
If a particular cell in a row as multiple styles ( bold, underline, top-align, etc..), how can you add the individual classes to the cell?
I've tried the following structure with no success:
Code: [Select]
var data = [
    {rank:4, company:'BP', revenues:'267,600.0',profits: '22,341.0', pq_rowcls: "red", pq_cellcls: { "company": { color : "green", bold: true} },
    {rank:5, company: 'General Motors',revenues: '192,604.0', profits:'-10,567.0'},
   
];

Pages: [1]