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
Bug Report / Activate trackModel within complete event
« on: July 07, 2020, 01:20:21 am »
Hello Paramvir,
i just needed to activate trackModel within complete event, which "seems" not to be working.

You can find a demo fiddle here: https://jsfiddle.net/e7056c9n/

Would be glad to hear from you!
Alexander

2
Bug Report / Treegrid DND: move nodes to empty folder
« on: May 08, 2020, 11:12:33 pm »
Hi Paramvir.

Could you please have a look at this fiddle: https://jsfiddle.net/jbwmtr39/
The problem is to move node "C" below node "A".

As asked and answered here https://paramquery.com/forum/index.php?topic=3376.msg12460#msg12460:
.. Parent node without children can be defined in flat data by adding pq_close property. It's mentioned in the API ..

Would be glad if you could check,
Alexander

3
Bug Report / Display error when width is flex
« on: April 23, 2020, 02:55:41 pm »
Hi Paramvir, hope you are still fine!
Can i please send you a bug report?

Please have a look at the screenshot i made.

When using pageModel and width:'flex' and there are too few columns nested grids are rendered not correctly in my eyes.
Perhaps there's the possibility to check if pagination needs more space than columns are available?

Best regards and take care,
Alexander

4
Bug Report / ContextMenu out of view
« on: March 18, 2020, 10:35:59 pm »
Hi Paramvir,
could you please have a look at the screenshot i made.
i made use of contextmenu which gets out of space when clicking near bottom or right of browser view.

best regards and hope to hear from you,
alexander

5
Help for ParamQuery Pro / Tree grid: collapse icon for empty folders
« on: October 31, 2019, 09:18:01 pm »
Just stumbled about empty folders in tree grid.
Would like to indicate empty folders as those without the possibility to collapse them.

What do you think about adding a third option to treeModel.iconCollapse like this:

treeModel.iconCollapse = [First string corresponds to open state icon, 2nd string corresponds to close state icon, 3rd string for folders without children and thus not collapsable].



6
Help for ParamQuery Pro / tree grid + moveNodes() -> r is undefined
« on: October 27, 2019, 09:33:07 pm »
Using tree grid i set dropModel like this:

Code: [Select]
dropModel.drop = function(evt, ui) {
                var tree = this.Tree();
                tree.moveNodes(ui.helper.data('Drag').getUI().nodes, ui.rowData);
            };

which results in this error when i rearange nodes:

Quote
TypeError: r is undefined pqgrid.min.js:16:12837
    moveNodes http://localhost/debian/public/js/pqgrid/pqgrid.min.js:16
    drop http://localhost/debian/public/js/autoflow/phpxpress/widgets/grid.js:2077  --> see dropModel.drop() above
    callFn http://localhost/debian/public/js/pqgrid/pqgrid.min.js:15
    onDropX http://localhost/debian/public/js/pqgrid/pqgrid.min.js:15
    onDrop http://localhost/debian/public/js/pqgrid/pqgrid.min.js:15
    onDrop self-hosted:1005

Can you tell me more about "r"?

7
Help for ParamQuery Pro / Hide before/after horizontal line in tree
« on: October 27, 2019, 04:01:30 pm »
I need to hide the horizontal line which indicates before/after drop in tree.
Is this possible?

8
Suggest new features / Tree grid + detail view
« on: October 16, 2019, 05:05:56 pm »
Hi paramvir  :)
for a new project there's the need for an tree grid including details for each row.
I'm not sure if this is generally possible as it would ie. lead to multiple (2) arrow icons.
My question is if you could add an working example of tree including detail view for me?

Best regards,
Alexander

9
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

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

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

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

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