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

2
Help for ParamQuery Pro / Re: Tree grid: collapse icon for empty folders
« on: November 01, 2019, 03:29:24 pm »
Quote
treeModel.iconCollapse or treeModel.iconFolder third string option could only be used to visually represent an empty folder.

Would be glad to see this implemented.
Can i count on it in some of the next releases?

3
Help for ParamQuery Pro / Re: tree grid + moveNodes() -> r is undefined
« on: October 31, 2019, 09:52:38 pm »
A common root was one idea i came across too.

Unfortunately in my system a common root node is hard to communicate to clients.
Therefore i will prefer fixed root nodes in a first try.

Here another fiddle with rollback support activated but not working yet when resetting moved nodes.

https://jsfiddle.net/L8kne6z7/

Is this functionality basically implemented in 6.2.4?

4
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].



5
Help for ParamQuery Pro / Re: Hide before/after horizontal line in tree
« on: October 28, 2019, 06:38:55 pm »
If you have a css based approach this would fit for me too  :)

6
Help for ParamQuery Pro / Re: tree grid + moveNodes() -> r is undefined
« on: October 28, 2019, 06:30:59 pm »
As i see tree grid doesn't support multiple root nodes.
r is undefined is thrown when i try to move a root node below another parent.

https://jsfiddle.net/v17zw2np/

Example:
Moving file "H" below folder "Autoflow".

Are there any plans to support multiple root nodes?

Then i faced another issue:

I need tree grid for building a folder structure based on flat format. So every node is a folder.
When i load data (in jsfiddle above) all nodes without children are files and don't accept other nodes as children.
i.E. moving "Dashboard" below "Server" doesn't work.

Whats the easiest way for flat format to define every node (even them without children) as a folder?
In nested format i could add children:[] to every node, but i don't know how to accomplish this in flat model.




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

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

9
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

10
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

11
Bug Report / Re: Setting dropModel by option fails
« on: June 14, 2019, 03:45:11 pm »
I adapted my workflow to a select/paste based approach. Fits very well :-)

Allow me  a node beside:
DnD has issues when dropping rows within a nested grid (detailModel).
Dropped rows are then added to parent grid too.

12
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.

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

14
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 ..
 


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

Pages: [1] 2