Recent Posts

Pages: [1] 2 3 ... 10
1
Bug Report / Re: Error in formula parsing
« Last post by paramvir on October 24, 2021, 09:55:29 pm »
Thanks for reporting issue, it has been fixed in the upcoming version and would be released in few days.
2
Bug Report / Error in formula parsing
« Last post by vsa on October 22, 2021, 03:35:38 pm »
Hello,

There is an important and quite weird bug giving an error if there is a specific string ("F" and probably others?):

Code: [Select]
var data = [
    { col1: "S", col2: null, col3: null, col4: null,           
        pq_fn: {                     
                col2: 'IF(A1="S", 1, 0)',// OK
                col3: 'IF(A1="F", 2, 0)',// NOT OK . Returns: Unexpected token ')'
                col4: 'IF(A1="f", 3, 0)',// OK
        }
    }
];

Here is a link to jsFiddle:
https://jsfiddle.net/93pe4n7v/

Thank you in advance.

Sincerely
4
Help for ParamQuery Pro / Conflict between jquery and other file?
« Last post by edasilv on October 22, 2021, 02:19:15 am »
I am getting the following error, on a specific project that is in production.
Uncaught TypeError: Cannot use 'in' operator to search for 'length' in [ jquery-3.4.1 (3850)

Other 2 project works like a charm, it is the same files but diff behaviour. Any suggestion about that?

5
ParamQuery Pro Evaluation Support / Re: Include paramquery into django application
« Last post by edasilv on October 22, 2021, 01:58:10 am »
Thank you for your answer!
After your question about grid initialization, I realized that the js file with the grid initialization was not linked to the correct file.




6
Help for ParamQuery Pro / Re: Detect Selected Rows
« Last post by paramvir on October 21, 2021, 09:36:09 am »
1. It's correct to count the no of selected rows.

2.

Code: [Select]
grid.Selection().eachRow(function (rowData, rowIndx) {
     //rowData is reference to each selected row.
 })
7
Help for ParamQuery Pro / Re: Dose PQ Grid compatible with IE
« Last post by paramvir on October 21, 2021, 09:33:02 am »
Sorry, the issue is not clear. Please share a jsfiddle / stackblitz reproducing the issue so that it can be checked.
8
ParamQuery Pro Evaluation Support / Re: Include paramquery into django application
« Last post by paramvir on October 21, 2021, 09:27:07 am »
Where is the code to create / initialize the grid?

Please follow this topic on how to create your first grid: https://paramquery.com/pro/tutorial#topic-firstjquerygrid
9
ParamQuery Pro Evaluation Support / Re: Include paramquery into django application
« Last post by edasilv on October 21, 2021, 09:16:38 am »
it shows no error
10
Help for ParamQuery Pro / Re: Dose PQ Grid compatible with IE
« Last post by stancao on October 21, 2021, 02:30:19 am »
My code:
        toolbar: {
            items: [
                {
                    type: 'button', icon: 'ui-icon-plus', label: 'New', listener: function () {
                        // row data with default value
                        var rowData = {PROJ_Q: "0",ANX_PART_I: "",UOM_C: "",VNDR_ITEM_I: "",PRICE_A: "0.0000",
                                    ANX_LIST_COST_A: "0.0000",DISC_COST_A: "0.0000",DISC_P: "0.0000",CUST_PART_I: "",
                                    VNDR_COMMCODE_C: "",VNDR_LONG_ITEM_I: "",VNDR_UOM_C: "",ITEM_DESC_E: "",
                                    VENDOR_I: " ",VNDR_CURRENCY_C: "",QUOTE_APPV_I: "",
                                    EXT_COST_A: "0.0000",TOT_FORECAST_Q: "0",INVN_TRKG_F: false,STD_ITEM_I: "",
                                    CUST_OWNED_F: false,INVN_TYPE_F: "Stock",CUST_SPECIFIC_F: false,CRIT_ITEM_F: false,
                                    KIT_ITEM_F: false,METAL_FIRM_F: "",METAL_A: "0.0000",ITEM_LNGTH_P: "0.0000",
                                    ITEM_WIDTH_P: "0.0000",ITEM_HT_P: "0.0000",WEIGHT_Q: "0",RTRN_POLICY_T: "",
                                    FRT_SENSITIVE_F: false,VNDR_LINE_I: "0",LINE_I: "0",
                                    vendorNumber: inputData["Vendor"], vendorListNumber: 0,
                                    registrationNumber: "",
                                    regType: inputData["RegType"],
                                    PROJECT_I: project,
                                    PROJECT_VENDOR_I: inputData["Vendor"],
                                    QUOTE: inputData['Quote'],
                                    RGSTR_TYPE_I: inputData["RegType"],
                                    CONTRACT_I: contractNumber,
                                    stockLocData:[]};
                        //append empty row at the end.                           
                        var rowIndx = this.addRow({ rowData: rowData, checkEditable: true });
                        this.goToPage({ rowIndx: rowIndx });
                        this.editFirstCellInRow({ rowIndx: rowIndx });
                        this.refresh();
                    }
                },

Pages: [1] 2 3 ... 10