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.


Topics - Autoflow

Pages: [1]
1
Hi!
Is it possible to implement a preContext callback which makes it possible to
show the native browser context instead, ie. when ctrlKey is pressed?

Best regards,
Alexander

2
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?

3
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 ?

4
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 :-)

5
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]