ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: joaosales on February 27, 2018, 03:14:41 pm

Title: Missing style while packing
Post by: joaosales 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?

Title: Re: Missing style while packing
Post by: paramvir 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.
Title: Re: Missing style while packing
Post by: joaosales 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  :(
Title: Re: Missing style while packing
Post by: paramvir on February 28, 2018, 02:40:07 pm
pqgrid.ui.min.css is also required.
Title: Re: Missing style while packing
Post by: joaosales on February 28, 2018, 02:45:59 pm
If I select the inner div the pqgrid.ui.min.css also show in the styles
Title: Re: Missing style while packing
Post by: paramvir on March 01, 2018, 06:36:40 pm
Could you please share your webpack configuration script. I can check it at my end.