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

Pages: [1] 2
1
Help for ParamQuery Pro / Re: Differentiating between 2 drag sources
« on: December 06, 2019, 08:48:23 pm »
Awesome, thanks!

I thought maybe I could put in multiple drop classes and have them comma-separated, but it was near the end of the day, and didn't want to wait until this morning to try it and then find out I needed to ask, so just posted to be proactive.

2
Help for ParamQuery Pro / Differentiating between 2 drag sources
« on: December 06, 2019, 04:25:42 am »
I have 3 grids.
One is the main display.
The second is employees, the third projects.

I have a clsDnD defined for dragging from Projects to the main, and the accept has the clsDnD in it and that works fine.

Now I want to setup a clsDnD in the Project grid and be able to ALSO drag from Projects to main.

I'm not seeing how to differentiate between the two drag sources, or even if how to add a second clsDnD to the 'accept' on the destination.

Thanks!

3
Just to be clear, I didn't mean a single drag to multiple drops. I meant more of a 'copy' drag where the source record is not removed rather than a 'cut-and-paste' drag where the source record is removed when dropped.

Is that clear?

4
I've got the drop working as required, but the drag source is being removed.

Is there a setting that I can set somewhere to keep that from happening?

I have a need to drag the same source to multiple drop targets.

Thanks!

-Dave

5
Help for ParamQuery Pro / Re: Change color of toolbar button at run-time
« on: November 27, 2019, 07:31:18 pm »
yikes... I didn't see that methos

Thanks!

6
Help for ParamQuery Pro / Change color of toolbar button at run-time
« on: November 27, 2019, 05:31:12 am »
Hello...

I'm trying to change the color of a toolbar button at run-time.

It looks to me like I need to lay in a different toolbar to do so, so I've tried that in the jsfiddle below.

At the very bottom there are 2 lines where I tried to assign the new toolbar -- one is commented, and neither of them is doing the job.

What am I doing wrong here?

Thanks!

https://jsfiddle.net/9ksrwqdg/

-Dave

7
Help for ParamQuery Pro / Question about dropping into a grouped grid
« on: November 15, 2019, 05:39:33 am »
I have requirements to drop onto a grid that has grouping turned on.

I have an ID field on the JSON data that feeds the grid, and when I drop, it matters which column(cell) I drop on.

To add to that fun, I further have a requirement to modify the JSON data.

The problem then becomes that not all the 'uiDrop.rowData' has the id column when things are grouped, so I can't sync my drop info with the JSON because I have no idea what record I'm dealing with.

If I try to turn off the grouping inside 'drop' -- uiDrop is already set and that ship sailed.

I can remove the grouping by hand and everything works because now I DO have the id field.

It would be very nice to have a 'dragbegin' event so that I could remove the grouping and a 'dragend' I suppose in case the user bails on the dnd so I can put the grouping back.

Any ideas around this?


8
Help for ParamQuery Pro / Re: Help with Showing dirty rows
« on: November 15, 2019, 01:10:44 am »
Well... that was an incorrect modification of my code in the stripped-out version that I did to produce the jsfiddle. The real one didn't have either of those two lines.

So I modified the jsfiddle to remove the one you suggested and the one following that was unnecessary, and I'm still not seeing any visual of a dirty row:

https://jsfiddle.net/ceybnj0u/

Thanks!

-Dave

9
Help for ParamQuery Pro / Help with Showing dirty rows
« on: November 12, 2019, 03:33:08 am »
I have coded up single cells that show the red 'dirty' markers, but I'm not showing them in this jsfiddle.

What I'm trying to see is with the trackModel and recIndx setup … why I'm not seeing anything on the rows that get added when I click "Add Row".

Inside that function, I'm querying the grid for "IsDirty" and it does return true, but I was expecting a visual also as when I edit a single cell. … is that not the case?

Thanks!

-Dave

https://jsfiddle.net/1mrLdwq5/3/

10
Help for ParamQuery Pro / Re: Group hide
« on: November 07, 2019, 08:24:06 pm »
Perfect!

Thank You!

11
Help for ParamQuery Pro / Group hide
« on: November 06, 2019, 11:36:08 pm »
I'm trying to hide grouping in one grid from an action external to that grid, which is different from the example here:

https://paramquery.com/pro/demos/group_rows

I've uploaded a jsfiddle to demonstrate what I'm trying -- that isn't working. The upper grid has 2 columns, one is grouped. The middle grid has a toobar button labelled "Test" that calls a function "testColumns". I've tried all sorts of ways to get that to work, and need help.

https://jsfiddle.net/1mrLdwq5/1/

Thanks!

-Dave

12
Help for ParamQuery Pro / Problem doing my own expand/collapse
« on: October 30, 2019, 04:51:42 am »
Since the expand/collapse issue I reported was moved to the 'bug fix' area, I decided to try to do my own expand/collapse by setting a grid as collapsible: {on: false} and then have some sort of indicator like in Outlook such as:

> Selected Value --- for when it is collapsed, and eventually do my own icon for the >
V Selected Value -- for when it is expanded, and likewise for the icon

So we figured out I could not collapse if collapsible: {on: false} was set, so inside the function to expand/collapse, I set it to {on: true}

Then I collapse and that works. But then in order to get rid of the blue expand/collapse icon that isn't working the way we want, I set it to {on: false} again, and nothing happens -- so I tried a refresh, and that doesn't do anything either.

I'm looking for some ideas here to make this work...

and here's a jsfiddle that demonstrates what I'm attempting:  https://jsfiddle.net/1mrLdwq5/

Thanks!

- Dave

13
Thanks!

14
I had posted this in the free forum before I had access here, and you asked for a jsFiddle:

I'm jumping in on a project that has 3 grids one below the other each in their own div.

Each has collapse set true as shown in the documentation.

If I click the top one to expand -- all 3 expand!

Any thoughts on either why this happens or how I can stop it?

==================

The jsfiddle acts different than the code -- all 3 grids are opening by default and as you can see, the expand/collapse button on the lower 2 grids has the icon for expand when they are already expanded, and can't collapse.

In the code I created the jsfiddle from, the bottom two are collapsed as written in the code, and expanding the middle one expands both.

Possibly the fact that all three are opening expanded will give you enough insight to tell me what I need to do... thanks!

https://jsfiddle.net/u0xL8bha/1/


15
Help for ParamQuery Pro / Re: The Horizontal blue line on dropping
« on: October 19, 2019, 02:28:03 am »
Thanks!

The line muddies up the UI though if you're dropping on a column -- and makes it a bit confusing.

At least I know :)

Pages: [1] 2