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

Pages: [1] 2 3 ... 11
1
Help for ParamQuery Pro / Re: select vs autocomplete editor
« on: November 14, 2024, 08:13:55 pm »
thank you. this works well. 1 issue though. the available values section that pops up appears underneath the cell. If the row/cell is at the bottom of the grid/screen, the popup is cut off.
Is there a way to move the popup up in this scenario?

2
Hello, are you able to update the JS Fiddle below (https://jsfiddle.net/hp79mu2j/) ?
Also including another picture of how the tab color seems opposite.

3
Thanks.
-Can you update https://jsfiddle.net/hp79mu2j/ so that the "Fields Selected" tab in the column header filter is hidden. We only want to show the filter tab.
-Is there a way to change the tab color? It seems like the wrong tab is white (see image).


4
How can I update the filter so that only the values that are filtered are checked?

Why is Project2 checked?
https://jsfiddle.net/dwzyem3q/

5
Help for ParamQuery Pro / Re: Issue with setting row height
« on: October 17, 2024, 05:06:40 pm »
thank you. Is there any way to get the icon in the middle of the cell? It seems like there is always an extra space, either top or bottom, and adjusting the valign and/or rowHt doesnt address it.

6
Help for ParamQuery Pro / Re: Issue with setting row height
« on: October 17, 2024, 12:25:26 am »
Can you update the row Height in this simple example so that there is no extra vertical space? When I try to adjust the row height to remove the extra space at the bottom of the icon, it ends up clipping off the top of the icon.

https://jsfiddle.net/vhaLqg6m/

7
Sorry, to clarify, "rollup" should be hidden when expanded and the only column visible when collapsed.

8
The first column in my column group is a calculated column and I only want it to display when the column is collapsed.
Can you add the Javascript to this file so that the column "rollup" is hidden when the group is collapsed?

https://jsfiddle.net/ftjhrqum/

9
Help for ParamQuery Pro / Re: select vs autocomplete editor
« on: October 02, 2024, 06:42:56 pm »
the grid column is an "Actions" column, with values like "view user details" and "view project details". Once the action (like "view project details") is selected from the list, and performed (like popping up a modal window to show details),  the cell should no longer show that value. So, if the user wants to select "view project details" again, they can do so, and the last selection isn't still listed.

10
Thank you. Can you update the button click in what I've tried?
https://jsfiddle.net/mkb0xevh/


11
Help for ParamQuery Pro / Re: select vs autocomplete editor
« on: September 25, 2024, 05:01:11 pm »
thank you. that worked. lastly, how would I clear this grid cell after the selected item was found

editor: {
                            type: "textbox",
                            init: function(ui) {
                                var $inp = ui.$cell.find("input");

                                //initialize the editor
                                $inp.autocomplete({
                                    source: (ui.dataIndx == "books" ? books : "/pro/demos/getCountries"),
                                    selectItem: {
                                        on: true
                                    },
                                }).focus(function() {
                                    //open the autocomplete upon focus               
                                    $(this).autocomplete("search", "");
                                })
                                ui.$editor.on('autocompleteselect', function(event, ui) {
                                    alert(ui.item.label)
                                   
                                    //clear grid cell

                                })
                            }
                        },

12
I need to open the Grid Fields selection dialog from a button click event instead on clicking on the column hamburger icon. How can this be accomplished?

13
Help for ParamQuery Pro / Re: select vs autocomplete editor
« on: September 20, 2024, 09:12:42 pm »
thank you. I want to detect the selected item on select/click of the item (like using the select editor), and not have to tab off to get the selected item.
I tried autocompleteselect but the value is empty/blank instead of the selected item.
 
                                ui.$editor.on('autocompleteselect', function () {
                                    alert($(this).val())
                                    selRow = ui.rowData
                                    if ($(this).val() == "View/Edit project details") ......

14
Help for ParamQuery Pro / select vs autocomplete editor
« on: September 20, 2024, 06:59:35 pm »
When user clicks on a cell, I want a select list to pop up on click, like the books column in your example (when clicksToEdit =1): https://paramquery.com/demos/editing_custom
Can this be done with a select? In the example above the "Ship Via" requires an extra click.
If not, I can use the autocomplete, like books column. For autocomplete, how can I add a change event to detect the value that is selected?
Below is the change event that is working for the select, but not for autocomplete.

 ui.$editor.on('change', function () {
   selRow = ui.rowData
    if ($(this).val() == "<item1 selected>") {
    DoAction1())
   }
});

15
Help for ParamQuery Pro / Image in Header
« on: August 27, 2024, 01:30:53 am »
I'm defining a column like this, to get text and image in the header, but when looking at the fields filter for this column, the entire title (to include the span html) displays.
title: "<span title = 'Desc goes here'>Column Text <img src='Images/Info.svg' /></span>",

Is there another way to add a column with text + image, so that when you view the available fields to filter, the title excludes the html? In the case above it should only display "Column Text" in the fields filter.




Pages: [1] 2 3 ... 11