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

Pages: 1 [2] 3 4 ... 24
16
Help for ParamQuery Pro / Re: Visual issues updating to 8.7.0
« on: February 15, 2023, 12:11:16 pm »
There is a darker green area at the top starting to show. It will be greater as you add more object in toolbar that need more height.
I attached a screenshot.

17
Help for ParamQuery Pro / Re: Visual issues updating to 8.7.0
« on: February 15, 2023, 12:33:11 am »
Seems my toolbar (2 rows) push it down. I use

Code: [Select]
{type: '<br><br>'},
to get elements on second row and therefor I set height on toolbar.
What would be a better way to have 2 row toolbar?

18
Bug Report / Reorder columns
« on: February 14, 2023, 03:19:27 pm »
I can drag column but not possible to drop anywhere (red cross). Works fine in 8.2.0 but not in 8.7.0.
Did something change?

19
Help for ParamQuery Pro / Visual issues updating to 8.7.0
« on: February 06, 2023, 02:05:48 pm »
Hi, updated to 8.7.0 and I see some visual difference compared to earlier version 8.2.0.

The header background seems pushed down

Code: [Select]
.ui-widget-header {
    border: 1px solid #3f7506;
    background: #3a8104 url("images/ui-bg_highlight-soft_33_3a8104_1x100.png") 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
}

modifying background to:

Code: [Select]
background: #3a8104 url("images/ui-bg_highlight-soft_33_3a8104_1x100.png") 50% 0% repeat-x;
seems to fix the problem but the footer also seems wrong regarding the background...

Using:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/themes/le-frog/jquery-ui.css">

attached is screenshot

20
Help for ParamQuery Pro / Re: Remote options
« on: January 25, 2023, 08:01:19 pm »
Great, thanks.

21
Help for ParamQuery Pro / Remote options
« on: January 23, 2023, 12:03:26 am »
Regarding https://paramquery.com/pro/demos/filter_remote_options.

I have multiple grids using jquery tabs and would like to have this function centralized to be used in all columns in all grids.

How could I implement this?

I send in table and column to PHP file which generates the sql to get distinct values which works fine,
but not sure how to centralize it so all tables and columns can use the same function.

22
Help for ParamQuery Pro / Re: Filter question
« on: January 19, 2023, 07:20:21 pm »
did like this:

Code: [Select]
if (rule.value != undefined || rule.value2 != undefined) {
  rule.value = undefined; //clear the values while keep the filter conditions.
  rule.value2 = undefined;
  grid.filter();//refresh filter.
  }

or is there a better way?

23
Help for ParamQuery Pro / Re: Filter question
« on: January 19, 2023, 07:04:47 pm »
By the way I would like to clear/refresh filter only if filter was set to avoid unnecessary call to db...what would be a good way to do this?

24
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 06:21:25 pm »
Seems to work fine, so no class is needed with this method (ele) for tooltipster I guess?

25
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 04:07:41 pm »
Hmm...Im using jQuery tabs for multiple grids where I reuse the toolbar. Nothing happens when the tooltip is triggered on other tabs and no error message is given.
Is there any modifications needed when using jQuery tabs for the other tabs to work?

26
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 03:33:51 pm »
Works fine, thanks.

27
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 02:54:41 pm »
ok, tried this in toolbar item:

Code: [Select]
init: function() {

$('#toolbar_button').tooltipster({               
    content: $('<strong>this is a text</strong>')
  });

}

but this generates even more of the console messages...I guess the callback is not correct?

28
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 12:34:51 pm »
Still having issue with this...

in toolbar:
Code: [Select]
{
  type: 'button',
  label: "label",
  attr: 'id="toolbar_button"'
}

in reftresh event:
Code: [Select]
refresh: function() {
                   
  $('#toolbar_button').tooltipster({               
    content: $('<strong>this is a text</strong>')
  });

}

It works but in console I get output:

Code: [Select]
Tooltipster: one or more tooltips are already attached to the element below. Ignoring.

29
Help for ParamQuery Pro / Re: Filter question
« on: January 18, 2023, 08:22:36 pm »
Thanks, works fine.

30
Help for ParamQuery Pro / Hide current column from header context menu
« on: January 18, 2023, 02:16:31 pm »
Trying to hide current column from header context menu:

Code: [Select]
function headItems(evt, ui){
  return [
    {
          name: 'Hide column',
          action: function (evt, ui) {
     
            var grid = this,
            column = ui.column
           
            this.Columns().hide({ diHidden: [column.name] });
          }
    }
  ]
}

But can't get it to work properly.

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