ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: gopigupta on December 14, 2023, 11:28:11 am

Title: First row data hidden under header
Post by: gopigupta on December 14, 2023, 11:28:11 am
Hello,

I have started experiencing issue after updating to v9.1.0. Grid's header overlap with some part of first row. This issue only happens when the grid is shown on jquery dialog box(as attached screenshot1)

Clicking on 1st row cell does show data correctly(as attached screenshot2)

Please help to resolve this issue.

Thanks     
Title: Re: First row data hidden under header
Post by: paramvir on December 14, 2023, 01:53:14 pm
Please try setting this option to true for grid in jquery dialog box

https://paramquery.com/pro/api#option-noStickyHeader
Title: Re: First row data hidden under header
Post by: gopigupta on December 14, 2023, 03:07:21 pm
Thank you. Will this solution work on v9.0.2 as one of my application is using this version?
Title: Re: First row data hidden under header
Post by: paramvir on December 15, 2023, 07:55:27 am
this css can be used for older versions:

Code: [Select]
your_grid_selector .pq-header-outer {
  position: relative;
}
Title: Re: First row data hidden under header
Post by: gopigupta on December 15, 2023, 09:05:36 am
Sorry, I added above code in css file but it does not solve the problem. Header is still overlapping with 1st row of grid.
Title: Re: First row data hidden under header
Post by: paramvir on December 15, 2023, 11:06:39 am
Did first option solution worked for v9.1.x? If yes then css solution is supposed to work for older versions.

If not, then could you please share a jsfiddle.
Title: Re: First row data hidden under header
Post by: gopigupta on December 15, 2023, 04:19:39 pm
no, the first solution is also not working for v9.1.0. It is not possible to provide issue in jsfiddle but I noticed that this issue does not come till v8.6.0(pqgrid.min.js file)

Is it possible for you to create a jsfiddle showing grid header working fine on modal dialog box
Title: Re: First row data hidden under header
Post by: paramvir on December 15, 2023, 06:16:23 pm
It works fine as seen in this example with latest version v9.1.1: https://paramquery.com/pro/demos/fluid_popup even without use of noStickyHeader option or any css workaround.

Which version of jquery and jqueryui are you using. Please try to use latest version of jqueryui.