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.


Topics - queensgambit9

Pages: 1 [2] 3 4 ... 8
16
Help for ParamQuery Pro / loadstate from url
« on: February 10, 2020, 03:48:31 pm »
Trying to load state from query param...but it doesn't seem to work.
Also how can I set the loaded state as choosen in the states dropdown?

https://jsfiddle.net/queensgambit9/59n0bdLa/12/

17
Help for ParamQuery Pro / Context menu with tabs
« on: February 04, 2020, 06:41:06 pm »
On grid in 2nd tab Im trying to active context menu, but function does not get defined...

https://jsfiddle.net/queensgambit9/t71o63ce/2/

18
Help for ParamQuery Pro / grid.refreshHeader(); in tabs
« on: January 30, 2020, 09:13:23 pm »
Trying to refresh header using jQuery tabs.

In create event for each grid after getting some data for headers

Code: [Select]
grid.refreshHeader();
Getting error on 2nd tab (first work fine)

Code: [Select]
Uncaught TypeError: Cannot read property '23' of undefined

19
Help for ParamQuery Pro / Height of grid
« on: January 28, 2020, 03:29:01 pm »
I would like to set height of grid depending on available screen size, currently I do it through:

height: window.innerHeight,

1. Would it be possible to auto adjust height when window is moved between screens with different resolutions?
2. When a state is saved, grid height seems absolute...when state is then loaded in different resolution it does fit in page as intented...can this also be dynamic?

20
Help for ParamQuery Pro / CSS issue
« on: January 09, 2020, 03:33:30 pm »
Having issue with height of rows when using this CSS:

Code: [Select]
.pq-grid-cell { padding: 7px 10px 7px 10px; }
In filter dropdown (Range) the row height doesn't seem to adjust to the padding and text is partially hidden since row height is not enough...
Using v7.

21
Help for ParamQuery Pro / savestate with tabs
« on: December 11, 2019, 08:32:10 pm »
Hi

Having some issues with saveState and tabs.

- On tab 2 the dropdown for states doesn't seem to be correctly refreshed?
- When 'None selected' is choosen, I would like to reset grid to default layout for current tab...how can I do this?

https://jsfiddle.net/queensgambit9/ubk3hwpa/3/

Thanks in advance.

22
Help for ParamQuery Pro / jQueryUI Tabs
« on: December 05, 2019, 09:23:25 pm »
Hi

When clicking on "Tab 2" it does not render correctly...any idea why?

Code: [Select]
<script>

  $(function () {   

    $("#tabs").tabs();
   
    $("#grid1").pqGrid({
  dataModel:{data:[{a:"b"}]}
    })

    $("#grid2").pqGrid({
  dataModel:{data:[{c:"d"}]}
  })
});

</script>

<div id="tabs">
  <ul>
    <li><a href="#grid1">Tab 1</a></li>
    <li><a href="#grid2">Tab 2</a></li>
  </ul>
 
<div id="grid1" style="margin:auto;"></div>
<div id="grid2" style="margin:auto;"></div>

</div>

23
Help for ParamQuery Pro / Display multiple spaces in a HTML Page
« on: November 20, 2019, 08:18:15 pm »
Hi

Have multiple spaces (indentation) in data which I would like to see reflected in grid (&nbsp; or similiar). When you export though, it should be formatted back to what was returned from db in the beginning.
How can I accomplish in an effecient way?

Thanks in advance.

24
Help for ParamQuery Pro / Grid in popup
« on: October 17, 2019, 01:06:01 pm »
Hi

Using grid popup on click.
I would like to set the title attribute of the div for the popup dynamicially when the function is called.

Ex:

<div title="dynamicially set" id="popup" style="overflow:hidden;">
    <div id="grid_popup"></div>
</div>

How can I do this?

25
Help for ParamQuery Pro / Context menu
« on: June 19, 2019, 03:56:55 pm »
Would it be possible to disable context menu option based on cell value?
Option should be disabled and no action performed when clicked.

Using:

Code: [Select]
function bodyItems(evt, ui){
        return [
         
               {
                    name: "test",
                    disabled: false,
                    action: function(evt, ui){
                    // do something
                    }
                }
                ]}

26
Suggest new features / Indicator for filters being applied
« on: April 27, 2019, 04:56:32 pm »
Some sort of indicator, perhaps clickable to bring up a list or similiar showing which columns have filters applied and there expression / condition.
Also saying if the column is hidden or visible.

Ex. of information:

Filtered columns:
------------------
Name: Col a
Condition: 'contain' value 'test'
Visibility: hidden

Possibility to clear / modify certain filters directly from this list.
This could also have builtin warning in regards to hide columns...saying that you are about to hide a column that has filter applied.

27
Suggest new features / Column support in hoverMode
« on: April 27, 2019, 04:48:41 pm »
Possibility to have hoverMode support for column / column header. Would allow to hover a cell and clearly see which row and column cell value is belonging to.

28
Help for ParamQuery Pro / use format, deFormat with filtering
« on: April 20, 2019, 02:14:16 am »
Ok, but how do you set the value as percentage and with thousand separator (# ###)?

Tried:

Code: [Select]
format: function(val) {
return (val * 100) + "%";
}

29
Help for ParamQuery Pro / Filter on rendered cells
« on: April 19, 2019, 01:38:44 pm »
I use render function to display decimal values as percentage. When using header filter I would like to do match against the rendered value...is that possible?

Ex: 0,01 is displayed as 1 in grid and when filtering I want use 1 and not 0,01.

30
Help for ParamQuery Pro / getData from popup
« on: April 16, 2019, 01:07:18 pm »
I have a grid where a user can use context menu on a row to open a new grid (popup).
I would like to use the id from row clicked and insert into datamodel.url for the popup grid to make php select with this id.

How do get the id from row?

Code: [Select]
url: "/php/data.php?id="+//get id from row where context menu was activated

Pages: 1 [2] 3 4 ... 8