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

Pages: [1]
1
Hi Paramquery Team,
I'm using ParamQuery Pro v7.1.0.

How can I prevent cell overflow input box?

2
Hi,
If you enter Korean when you are not in edit mode, the first letter appears as an alphapet.
How can i fix it?

3
Help for ParamQuery Pro / How to change the postdata and reload data
« on: March 31, 2020, 11:01:41 am »
Hi,
I want to use postdata dynamically using a check button or input box.
How to change the postdata and reload data?

Code: [Select]
    $(function () {
        var colModel= [
            { title: "Product ID", dataType: "integer", dataIndx: "ProductID", editable: false, width: 80 },
            { title: "Product Name", width: 165, dataType: "string", dataIndx: "ProductName" },
            { title: "Quantity Per Unit", width: 140, dataType: "string", align: "right", dataIndx: "QuantityPerUnit" },
            { title: "Unit Price", width: 100, dataType: "float", align: "right", dataIndx: "UnitPrice" },               
            { title: "Units In Stock", width: 100, dataType: "integer", align: "right", dataIndx: "UnitsInStock" },
            { title: "Discontinued", width: 100, dataType: "bool", align: "center", dataIndx: "Discontinued" }
        ];

        var postData = {gridId:23, table: "products"};

        var dataModel = {
            location: "remote",
            dataType: "json",
            method: "GET",
            url: "/pro/products/get_jsonp",
            postData: postData,
            getData: function (dataJSON) {
                return {data: dataJSON.data};
            }
        };

        $("#grid_jsonp").pqGrid({
            height: 450,
            scrollModel: {autoFit: true},
            dataModel: dataModel,
            colModel: colModel,                                                           
            numberCell: { resizable: true, width: 30, title: "#" },
            title: "Products",
            resizable: true
        });
    });

Pages: [1]