Author Topic: autoFit to fail  (Read 1522 times)

zhouqi

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 16
    • View Profile
autoFit to fail
« on: December 15, 2020, 06:44:52 am »
hi paramvir:

Using pqgrid in react, if you use the on-demand loading method, cVirtual.setSBDim(); this method will have a loading delay problem, causing the getSBWd method to return pq.cVirtual.SBDIM as undefined, so in autoFitCols wdCont = NaN (wdCont = dims.wdCenter-sbWidth), causing autoFit to fail

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: autoFit to fail
« Reply #1 on: December 15, 2020, 07:08:13 am »
Could you please share a small test case to reproduce the issue.