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

Pages: [1]
1
Thank you for your reply and I apologize--when we were creating the fiddle, we discovered that there were css settings in another file the html element that was disabling the scroll on overflow, so the issue is our css.

2
We are trying to upgrade a grid from 3.3.5 to 5.6 (first attempting 5.1), and we initialize it with the following options:

Code: [Select]
{"bootstrap":{"on":true,"grid":"pq-small-font-grid"},"collapsible":{"on":false,"toggle":false},"columnTemplate":{"halign":"center","minWidth":40,"resizable":true},"roundCorners":true,"showTop":true,"showTitle":false,"showBottom":false,"showToolbar":true,"numberCell":false,"minWidth":200,"oddRowsHighlight":true,"columnBorders":false,"wrap":false,"hoverMode":"none","editModel":{"clicksToEdit":1},"height":"flex","freezeRows":1,"selectionModel":{"type":"row"},"scrollModel":{"autoFit":false},"editable":false,"freezeCols":4,"width":"100%"}
In Chrome, everything is good.  In IE, the horizontal scroll bar will not display.

Is there anything that could be affecting this?

3
Help for ParamQuery Pro / Scrolling while selecting cells
« on: March 21, 2016, 09:03:07 pm »
In my application, when a user is selecting multiple cells/rows, if they use the mouse and drag to the bottom of the grid, they can make the grid scroll and continue selecting by placing the mouse cursor at the bottom of the grid.  If they do the same thing to continue scrolling up by going to the top of the grid, there is no way to get it to scroll.

This is not a perfect example, but I have modified a fiddle below to recreate the issue:

http://jsfiddle.net/fstsc5cj/1/

Is there a setting to enable scrolling while selecting?

Thanks,
Tom

4
Help for ParamQuery Pro / Re: Right click with selection
« on: February 25, 2016, 10:17:15 pm »
Thank you, the patch works perfectly.

5
Help for ParamQuery Pro / Right click with selection
« on: February 19, 2016, 12:39:50 am »
Is there a way to stop the right click from clearing the current selection?  I have a context menu with copy/paste available, but in order to keep the selection the user has to hold the shift key while right clicking.  I would like to keep the current selection so that the context menu knows what to copy.

Thanks

6
Help for ParamQuery Pro / Re: Drop down select for object
« on: February 11, 2016, 09:39:26 pm »
The solution provided worked great.  Thank you for your prompt response!

7
Help for ParamQuery Pro / Re: Drop down select for object
« on: February 11, 2016, 07:10:57 pm »
Oops!  I am sorry-- here is my fiddle:

http://jsfiddle.net/p4qnweun/2/

I will look at your reply and see if I can get that to work.

Thank you!

8
Help for ParamQuery Pro / Drop down select for object
« on: February 11, 2016, 02:27:51 am »
I have a grid where the data model has a complex object, for example:

var item = {
  ActivityType: { Id: 1, Name: "Cold Call" }
};

When I create an editor with a select item, like this:

    editor: {
        type: 'select',
        valueIndx: "Id",
        labelIndx: "Name"
        options: [ { Id: 1, Name: "Cold Call" }, { Id: 2, Name: "Email"}, { Id: 3, Name: "Visit" } ]
    };

I cannot get the value to save to the complex object in the data item. Here is a jsfiddle demonstrating what I mean--The Activity column will not update, but the description will because it is not complex.

I attempted to add a getData handler like this:

        getData: function (ui) {
            var val = ui.$cell.find("select").val();
            var txt = ui.$cell.find("select").find("option:selected").text();

                 return { Id: val, Name: txt };
        }

but it does not work (and throws an error).

Can anyone help?

Thanks in advance.


Pages: [1]