Recent Posts

Pages: [1] 2 3 ... 10
1
Help for ParamQuery Pro / Re: Conditional Cell Formatting
« Last post by mikep on May 04, 2021, 11:30:30 pm »
Is there a way to conditionally show a column's grouped sum only when grouped by a certain field?
For example, in this grid, for the month1 column, I want to show the sum when grouped by rank. If grouped by company, then don't show any value in the grouped header column. This would apply for 1 or many grouping levels.

https://jsfiddle.net/z3w2Lthc/
2
Help for ParamQuery Pro / Re: DeletRow function giving erroe
« Last post by paramvir on May 03, 2021, 06:54:47 pm »
Selectors don't match in your code: #grid_json / #grid_freeze_rows , they should be same.

Alternatively this context can be used.

Code: [Select]
  this.deleteRow({ rowIndx: 4 } );
3
Help for ParamQuery Pro / Re: DeletRow function giving erroe
« Last post by sshede on May 03, 2021, 06:30:29 pm »
Hi
I use below demo code . but not working deleteRow functionality.

$(function () {
        var data = [
            { rank: 1, company: 'Exxon Mobil', revenues: 339938.0, profits: 36130.0 },
            { rank: 2, company: 'Wal-Mart Stores', revenues: 315654.0, profits: 11231.0 },
            { rank: 3, company: 'Royal Dutch Shell', revenues: 306731.0, profits: 25311.0 },
            { rank: 4, company: 'BP', revenues: 267600.0, profits: 22341.0 },
            { rank: 5, company: 'General Motors', revenues: 192604.0, profits: -10567.0 },
            { rank: 6, company: 'Chevron', revenues: 189481.0, profits: 14099.0 },
            { rank: 7, company: 'DaimlerChrysler', revenues: 186106.3, profits: 3536.3 },
            { rank: 8, company: 'Toyota Motor', revenues: 185805.0, profits: 12119.6 },
            { rank: 9, company: 'Ford Motor', revenues: 177210.0, profits: 2024.0 },
            { rank: 10, company: 'ConocoPhillips', revenues: 166683.0, profits: 13529.0 },
            { rank: 11, company: 'General Electric', revenues: 157153.0, profits: 16353.0 },
         
        ];
        var frozenRows = [];

        var obj = {
            scrollModel: { autoFit: true },
            showTitle: false,
            resizable: true,
            freezeRows: 2,
            //showHeader: false,
            height: 400,
           
            colModel: [
                { title: "Rank", width: 100, dataType: "integer", dataIndx: "rank" },
                { title: "Company", width: 200, dataType: "string", dataIndx: "company" },
                { title: "Revenues", width: 150, dataType: "float", dataIndx: "revenues", format: '#.0' },
                { title: "Profits", width: 150, dataType: "float", dataIndx: "profits", format: '#.0' }
            ],
            dataModel: { data: data },
            create: function () {
                this.widget().find(".frozen").val(this.option('freezeRows'));
            },
            toolbar: {
                items: [                   
                    {
                        type: 'select',
                        label: 'Select number of frozen rows: ',
                        cls: 'frozen',
                        options: [0, 1, 2, 3, 4, 5, 6, 7, 8],
                        listener: function (evt) {
                            this.option("freezeRows", $(evt.target).val());
                            this.refresh();
                        }                                           
                    },
                    { type: 'separator' },
                    {
                        type: 'checkbox',
                        attr: 'id="sort_all_chk"',
                        label: 'Exclude frozen rows while sorting'
                    },
               {
                  type: 'button',
                  label: 'delete',
                  listener: function(){
                     var grid =  $("#grid_json").pqGrid('getInstance').grid
                      grid.deleteRow({ rowIndx: 4 } );
                  }
                    }
                ]
            }
        };
        $("#grid_freeze_rows").pqGrid(obj);

    });
4
Help for ParamQuery Pro / Re: DeletRow function giving erroe
« Last post by paramvir on May 03, 2021, 04:14:04 pm »
Could you share more details:

Which one of the 2 lines of source code is causing error.

Please share stack trace of the error.

Please share a jsfiddle.
5
Help for ParamQuery Pro / DeletRow function giving erroe
« Last post by sshede on May 03, 2021, 03:47:14 pm »
Hi,

I use below code.
var grid =  $("#grid_json").pqGrid('getInstance').grid
$("#grid_json").pqGrid("deleteRow", { rowIndx: 1 });

but giving below error
Cannot read property 'element' of undefined
6
Bug Report / Re: Auto Select Parent Node while selection of filter data
« Last post by Contact2jayesh on April 28, 2021, 11:11:11 am »
Thanks for the quick response.

You have mentioned that you are going to resolve in the next release in few days.
Could you please tell us specific days for the next release because we need functionality for the customer and we have to take the decision to buy the control?

Kindly waiting for your reply.

Thanks
Jayesh
7
Bug Report / Re: Auto Select Parent Node while selection of filter data
« Last post by paramvir on April 26, 2021, 10:26:18 am »
Jayesh

This issue has been already reported and fixed in upcoming version which would be released in few days.
8
Help for ParamQuery Pro / Re: 2 type editor in 1 column
« Last post by paramvir on April 26, 2021, 10:19:23 am »
dataType can't be 'date' for such column.

Please remove / comment dataType: 'date'
9
Help for ParamQuery Pro / Re: Request for the download of ParamQuery Grid Pro
« Last post by paramvir on April 23, 2021, 05:14:50 pm »
SDK can be downloaded as seen in the attachment.

10
Help for ParamQuery Pro / Re: Request for the download of ParamQuery Grid Pro
« Last post by pnb on April 23, 2021, 04:56:44 pm »
hi,
i have purchased and received transaction id but i dont see any download link. can u help me

Transaction ID: xxxxxxxxxx6074Y
Pages: [1] 2 3 ... 10