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 ... 23
16
Help for ParamQuery Pro / Re: Tooltipster
« on: January 19, 2023, 03:33:51 pm »
Works fine, thanks.

17
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?

18
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.

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

20
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.

21
Help for ParamQuery Pro / Re: Tooltipster
« on: January 16, 2023, 11:22:26 pm »
Solved.

22
Help for ParamQuery Pro / Tooltipster
« on: January 16, 2023, 07:43:28 pm »
Trying to set HTML content for tooltipster to button in toolbar in refresh event, but can't get it to work properly. Using title attribute on element works fine though...

toolbar with title attribute works:
Code: [Select]
type: 'button',
label: "toolbar_element",
attr: 'title="test"',
cls: 'tooltip'

toolbar with id and set content in refresh event (do not work):
Code: [Select]
type: 'button',
label: "toolbar_element",
attr: 'id="toolbar_element"',
cls: 'tooltip'

refresh event
Code: [Select]
$('.tooltip:not(".tooltipstered")#toolbar_element').tooltipster({
content: $('<span><strong>This text is in bold case !</strong></span>')
});

Old thread:
https://paramquery.com/forum/index.php?topic=1979

23
Help for ParamQuery Pro / Filter question
« on: January 16, 2023, 12:46:24 am »
Hi

I would like to clear filter (if exists) on a column when it changes from visible to hidden.
I used this before: https://paramquery.com/forum/index.php?topic=2355

Now using 8.7.0 with updated show / hide functionality how could it be implemented?

24
Help for ParamQuery Pro / Datetime format
« on: October 05, 2022, 07:06:26 pm »
Hi

Having issue with datepicker.
Data is in format yy-mm-ddThh:mm:ss.
Column options:
Code: [Select]
dataType: 'date', format: 'yy-mm-dd hh:mm:ss', formatRaw: 'yy-mm-dd'
When selecting datepicker '2022-10-04' I get 2022-10-04 hh:10:ss...

I would like datepicker to only use date and ignore time...

25
Help for ParamQuery Pro / Re: PHP select issue
« on: January 14, 2022, 01:50:51 am »
Thanks, had some error in my PHP for getting data.

26
Help for ParamQuery Pro / PHP select issue
« on: January 13, 2022, 01:28:01 am »
Hi

I display 20 rows per page. When going to next page and perform a search the SQL Query will be:

Code: [Select]
SELECT * FROM [table] where id like CONCAT('%', '123', '%') LIMIT 20, 20;
This will give 0 rows returned if there is less than 20 rows returned (1 for example)...how can I address this?

27
Help for ParamQuery Pro / Re: Modify range values
« on: April 14, 2021, 12:58:56 pm »
Remote.

28
Help for ParamQuery Pro / Re: Modify range values
« on: April 14, 2021, 12:24:44 pm »
I fetch filter values to populate range condition from DB (select distinct) to get all values and not only them available in grid. Tried using options but can't get it to work.
Seems to work when modifying the response from ajax call to get header options before assigning them.

Instead of equal condition in Range, I would like to use contain condition. Do I need custom override for this? Is there a sample available in that case?

Thanks.

29
Help for ParamQuery Pro / Re: Modify range values
« on: April 13, 2021, 05:41:09 pm »
Is there a way to do it in callback in the column definition or is the prefered way to do it in the response from ajax call before values are assigned as options?

30
Help for ParamQuery Pro / Modify range values
« on: April 13, 2021, 12:35:57 pm »
Would it be possible to modify values used in range condition? Fetching values remotely from DB.

Have values like 'value a, value b' but would like them to be splitted by comma (,) in the filter menu for range condition, ex:

value a, value b becomes:

- value a
- value b


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