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

Pages: 1 [2]
16
Bug Report / Re: Setting dropModel by option fails
« on: June 08, 2019, 12:55:24 am »
Damn, OK.

I bought a PRO license today.
Is there any way to get this feature running, ie. by taking Tech support credits?
(If it is technically not possible just tell me too)

Best regards.

17
Bug Report / Setting dropModel by option fails
« on: June 07, 2019, 07:32:59 pm »
Hi, just modified your example "Drag n Drop -> between grids" like this:

        //2nd grid
        $("#dndgrid2").pqGrid({
            height: 500,     
            width: '45%',     
            colModel: $.extend(true, [], columns),
            dataModel: $.extend(true, {}, dataModel),
            complete: function () {
                this.flex();
            },
            dragModel:{
                on: true,
                clsDnD: 'dnd2',
                diHelper:['OrderID']
            },


            //dropModel:{
           //     on: true,
           //     accept: '.dnd1'               
           // },

            //pageModel: { type: 'local', rPP: 20, rPPOptions: [1, 10, 20, 30, 40, 50, 100] },                                   
            title: "Shipping Orders"           
        });
      
   $("#dndgrid2").pqGrid( "option", "dropModel", {
                on: true,
                accept: '.dnd1'               
            } );

Setting dropModel via option fails in this case.
Is this issue a bug?

18
Hi.
Just found out that your documentation states that nested grids and dynamic colModel(s) are not compatible.
Thats no problem. As a possible solution i can prefetch the colModel from server ..
 


19
Hi.

Just noticed within your examples that setting a drop callback on dropModel prevents nodes from beeing moved:

$("#dndgrid").pqGrid({
            height: 500,
            autoRow: true,
            dataModel: dataModel,
            complete: function () {
                this.flex();
            },
            dragModel:{
                on: true,
                diHelper:['OrderID']
            },
            dropModel:{
                on: true,
      drop: function(evt, ui) { alert('node(s) won'n not moved with me ..'); return true; }
            },
            //pageModel: { type: 'local', rPP: 20, rPPOptions: [1, 10, 20, 30, 40, 50, 100] },
            colModel: columns,                       
            title: "Shipping Orders"           
        });       

Is this a bug ?

20
Hi ParamQuery,

there is following situation:

When loading data + colModel from server and generation the pqGrid like this:

 .. dataModel: {
                    location: 'remote',
                    recIndx: "ID",
                    dataType: "JSON",
                    url: "... ",
                    getData: function (dataJSON, textStatus, jqXHR) {

                        // Add a nested column
                        dataJSON.columns.unshift(
                            { title: "Nested data ",width:100, type: "detail", resizable: false, editable: false,
                                menuInHide: true, menuUI: {tabs:['hideCols']}
                            });
                        // Generation of former column fails not showing the arrow indicator ..
                        this.refreshCM(dataJSON.columns);
                        return {data: dataJSON.rows};
                    }
                }

the arrow indicator of nested grids is not shown.

I tried several possibilities and every time colModel + nested data is loaded by "pqGrid.refreshCM(dataJSON.columns);" the nested grid arrow is not rendered ..

A solution would be great :-)

21
ParamQuery Pro Evaluation Support / Get cell coordinates
« on: April 07, 2019, 08:04:20 pm »
Is it possible to get the coordinates of a selected cell in grid like A2 or C4?
I meen not in a workbook.

Pages: 1 [2]