Author Topic: Missing style while packing  (Read 2645 times)

joaosales

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 20
    • View Profile
Missing style while packing
« on: February 27, 2018, 03:14:41 pm »
Hi,

I'm starting to use webpack in my solution that uses the grid. For now I was only trying to pack my on code and loading css and the grid js at the html imports.
The grid is build gets all the data and all, but when the page is load the style is broken and all the columns seems to be stacking together at the first position of the grid.
Do you have any ideas what could help to fix this?


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Missing style while packing
« Reply #1 on: February 27, 2018, 09:41:00 pm »
It appears from screenshot and you might also have figured that pqgrid css files are not loaded.

Please verify all the css paths, settings and configurations.

joaosales

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Missing style while packing
« Reply #2 on: February 28, 2018, 01:07:03 am »
Well, thats what i thought. But when I debugged right after the grid is build i can see that it finds some of the grid css.
So I'm really lost here  :(

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Missing style while packing
« Reply #3 on: February 28, 2018, 02:40:07 pm »
pqgrid.ui.min.css is also required.

joaosales

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Missing style while packing
« Reply #4 on: February 28, 2018, 02:45:59 pm »
If I select the inner div the pqgrid.ui.min.css also show in the styles

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Missing style while packing
« Reply #5 on: March 01, 2018, 06:36:40 pm »
Could you please share your webpack configuration script. I can check it at my end.