Author Topic: First row data hidden under header  (Read 362 times)

gopigupta

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 37
    • View Profile
First row data hidden under header
« 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     

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: First row data hidden under header
« Reply #1 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

gopigupta

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: First row data hidden under header
« Reply #2 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?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: First row data hidden under header
« Reply #3 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;
}
« Last Edit: December 15, 2023, 08:00:39 am by paramvir »

gopigupta

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: First row data hidden under header
« Reply #4 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: First row data hidden under header
« Reply #5 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.
« Last Edit: December 15, 2023, 11:08:39 am by paramvir »

gopigupta

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: First row data hidden under header
« Reply #6 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
« Last Edit: December 15, 2023, 05:09:51 pm by gopigupta »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: First row data hidden under header
« Reply #7 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.
« Last Edit: December 15, 2023, 06:19:49 pm by paramvir »