Recent Posts

Pages: [1] 2 3 ... 10
1
Help for ParamQuery Pro / Re: Get and set scroll position in angular
« Last post by paramvir on September 21, 2020, 02:33:03 pm »
PQ Pro uses native scrollbar and its position can be obtained simply from grid.scrollX() and grid.scrollY() methods.

Code: [Select]
beforeTableView: function (evt, ui) {   
   var y = this.scrollY(); //returns vertical position of scrollbar in pixels.
}

However if you are trying to access records position inside the viewport in beforeTableView event.

Code: [Select]
beforeTableView: function (evt, ui) {   
   var initV = ui.initV; //returns rowIndx of first rendered row in the unfrozen viewport.
   var finalV = ui.finalV; //returns rowIndx of last rendered row in the unfrozen viewport.
}
2
ParamQuery Pro Evaluation Support / Range Filter data bind from server
« Last post by sachinkumarB.patel on September 21, 2020, 12:09:06 pm »
we created server side filter and paging too,
the issue is we can't get all data for range filter,

so we made async method but it won't work, and no any error found so please can you help for the same :

doAjax function get column data from database and bind it into range option

pq.filter.conditions.range.filterFn = async function (ui) {
    const result = await doAjax(ui.column.dataIndx);
    return {
        type: 'select',
        options: result,
    }
}
4
Help for ParamQuery Pro / Get and set scroll position in angular
« Last post by Digitalsoft on September 21, 2020, 11:30:05 am »
Hi,
I am trying to get and set the scroll position in angular based on these references
https://paramquery.com/pro/tutorial#topic-methods
https://paramquery.com/api/scrollbar#option-cur_pos
This is my grid instance in the component
grid: pq.gridT.instance;

this is how I trying to get the scroll in grid inside beforeTableView event and complete event
 beforeTableView: function (evt, ui) {   
              if(self.grid) {
                let $pqScrollbar = self.grid.find("div.pq-sb-vert").pqScrollBar();
                console.log($pqScrollbar)
              }
}

but getting error like 'ERROR TypeError: self.grid.find is not a function'. Find the attachment for the error. Kindly help in how to get and set scroll position in angular.
5
Bug Report / Re: EditedTextArea cell moves along with vertical/horizontal scroll
« Last post by paramvir on September 18, 2020, 05:24:07 pm »
Please use scroll event to quit editing.

Code: [Select]
scroll: function(){
this.quitEditMode();
},
6
Bug Report / Re: EditedTextArea cell moves along with vertical/horizontal scroll
« Last post by gopigupta on September 18, 2020, 04:23:36 pm »
Yes, I am facing the issue I don't want cell editor in a fixed position while scrolling in a grid.
7
Bug Report / Re: EditedTextArea cell moves along with vertical/horizontal scroll
« Last post by paramvir on September 18, 2020, 04:19:45 pm »
editor stays in fixed position, while the grid can be scrolled in any direction.

https://paramquery.com/pro/demos/editing_custom

Is your experience different from this?
8
Bug Report / EditedTextArea cell moves along with vertical/horizontal scroll
« Last post by gopigupta on September 18, 2020, 04:13:49 pm »
If I edit any cell that cell popups and moves along while vertical and horizontal scrolling in the grid, I have installed latest version of paramquery grid (7.3.0) and I m facing this issue. I want to disable this feature. How can I disable this please help as soon as possible, Please find attached screenshot of issue:-
9
Help for ParamQuery Pro / Re: loadState using State Parameter
« Last post by paramvir on September 17, 2020, 08:13:05 pm »
Does it work without replacement of the double quotes w/singe quotes?

Could you please share a jsfiddle.
10
Help for ParamQuery Pro / Re: autoRow height issue.
« Last post by ralph1996 on September 17, 2020, 07:26:43 pm »
Thank you.  Much appreciated.
Pages: [1] 2 3 ... 10