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

Pages: [1]
1
Hello Paramvir,

here I has implemented the autosave functionality but there are some issues which were unable to resolve. can I plz let me know what is the issue over here.

Issue 1: when I select a new product and fill the details in a row after each five seconds the data gets autosaved server side, and also clears the previous records of grid which are saved. But when I try to copy paste a batch of records over here the save gets autosaved after 5 seconds, but the save data gets saved after each 5 seconds(I mean cannot clear the previous records when I try to Copy paste batch of records).

Issue 2: cannot the get update and delete list in console when I try to copy paste.

I has shared my code over in the below link. I kindly request you go through it sir and let me know if any changes are to be made.


https://jsfiddle.net/virendraparade01/3h7ucwad/6/

copy paste records:
TH-P-P150-5   1   PC      2            CAP              side pack
TH-P-P150-4   14   PC      5            HEX BOLT      Top Pack
TH-P-P150-1   2   PC      34.52    HEX BOLT      Right side pack



2
ParamQuery Pro Evaluation Support / Copy Paste issue in hidden column
« on: August 26, 2019, 10:07:26 am »
yeah the above solution is working and copy paste is working thankx sir.

3
Hello Paramvir.. Could u plz let me know for the soln for above..

4
Issue1. how can I hide the Unit Of measure column from the grid if the checkbox is checked.

Please refer the below link:

https://jsfiddle.net/virendraparade01/bfgumzo2/

code:
Show Unit Of measure:  <input type="checkbox" name="mycheckbox" id="mycheckbox" /> <br>
<div id="grid_editing" style="margin: auto;"></div>



    $(function () {
 

   var data = [
            { "id": "TH-P-P150-4", "UnitOfMeasure": "Kg", "Description": "HEX BOLT" },
            { "id": "TH-P-P150-5", "UnitOfMeasure": "PC", "Description": "PEN" },
        ];


        obj = {
            dragColumns: { enabled: false },
            hwrap: false,
            resizable: true,
            rowBorders: false,
            autoRow: false,
            rowHt: 50,
            trackModel: { on: true },
            scrollModel: { autoFit: true },
            editor: { select: true },
            colModel: [
            
                {title: "<span title = 'ITEM'>ITEM</span>", dataIndx: "id", width: 120, },
                { title: '<span title = "UNIT OF MEASURE">UNIT OF MEASURE</span>', width: 100, dataType: "string", dataIndx: "UnitOfMeasure" },
                { title: '<span title = "DESCRIPTION">DESCRIPTION</span>', width: 100, dataType: "string", align: "center", dataIndx: "Description", },
            ],

           dataModel: { data: data },

            postRenderInterval: -1, //synchronous post render.
            pageModel: { type: "local", rPP: 20 },
        };



        var grid = pq.grid("#grid_editing", obj);

    });

Issue2: Incase any of the column is hidden over here and I copy paste, then the data gets pasted also in hidden column how can I avoid it.

I kindly request you to reply as earliest as possible you can.

Thank you.


Pages: [1]