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 / 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 / Re: Display error when width is flex
« on: April 24, 2020, 11:51:47 pm »
Oh is understand Paramvir :-)
Thats exactly what 'flex' is for.
I'm asking myself if it would be better to display a ie. "minimized" pagination when columns don't fit and user need pagination.
But at the moment i'm stumped.

4
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

5
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

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

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

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



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

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




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

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

13
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

14
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

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

Pages: [1] 2