ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: IdrIngvard on August 10, 2021, 02:45:23 pm
-
Hello
I do evaluation of ParamQuery Pro to find out, whether it suitable for our product.
It looks very promising so far, but I have one issue, which I cannot deal with.
It seems, it related to column auto width, when columns are grouped. (https://paramquery.com/pro/api#option-flex (https://paramquery.com/pro/api#option-flex)).
It looks like it takes into account only data cell width and not a column header width. Could you, please,
point out, where I'm wrong?
StackBlitz: https://stackblitz.com/edit/paramquery-react-npm-treegrid-o2s5r9?file=src/App.js (https://stackblitz.com/edit/paramquery-react-npm-treegrid-o2s5r9?file=src/App.js)
Actual result is:
(https://i.postimg.cc/rRSj5fkR/actual.png) (https://postimg.cc/rRSj5fkR)
Expected result
(https://i.postimg.cc/w3JwKjmx/desired.png) (https://postimg.cc/w3JwKjmx)
And one more question. In API documentation I found option renderHead for column defintion:
https://paramquery.com/pro/api#option-column-renderHead (https://paramquery.com/pro/api#option-column-renderHead)
But I cannot get it working?
-
1. Column auto width doesn't work for merged cells currently.
2. column.renderHead was not released, actually an issue with doc, has been taken out from the API docs. Need more testing before release.
Please let know if you face any other issues.