ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: mvanhees on February 17, 2014, 12:51:06 am

Title: Header grouping with freeze columns
Post by: mvanhees on February 17, 2014, 12:51:06 am
Hello,

When I setup 1 or more freezing colum and when I have a grouping colum header, I have trouble when scrolling to the right.
When the first sub colum of the first group are sliding to the left the header of the first group disapear.

In the attached example:
Col 1 & col 2 are freeze colum.
Group 1 and 2 have 5 sub columns.

On the second picture, when the first column of the first group disapear, the main column of the group disapear also and the main colum of group 2 stay, but over sub column of group 1.

How can I fix that?

Thanks,
Michel
Title: Re: Header grouping with freeze columns
Post by: paramvir on February 17, 2014, 09:42:28 am
By default pqGrid renders the columns which are viewable only within the viewport, which doesn't work well with header grouping.

Use virtualX: false for header grouping.

http://paramquery.com/pro/api#option-virtualX
Title: Re: Header grouping with freeze columns
Post by: mvanhees on February 17, 2014, 10:32:24 am
Excellent!!
That work perfectly!

Thanks a lot.
Michel.

Title: Re: Header grouping with freeze columns
Post by: mvanhees on February 17, 2014, 10:43:12 pm
I just discover that with this flag at false, I can no more edit the grid.

Is there a solution to handle both case?

Thanks,
Michel.
Title: Re: Header grouping with freeze columns
Post by: paramvir on February 17, 2014, 11:53:06 pm
That looks like an issue.

Is it possible for you to disable horizontal scrolling by use flexWidth: true or scrollModel:{autoFit:true} until this issue is resolved in next version.
Title: Re: Header grouping with freeze columns
Post by: mvanhees on February 18, 2014, 01:34:06 pm
When the next version are planned?

I have a solution, most a workaround, for colum that can be modified I will render a button and handle it by myself.
When new version will be deploy, I will removed this feature.

Thanks,
Michel.
Title: Re: Header grouping with freeze columns
Post by: paramvir on February 18, 2014, 03:54:32 pm
Thanks Michel

The new major version is few weeks down the road, but I've been trying to introduce an intermediate bug fix release before that may be within a week.


Title: Re: Header grouping with freeze columns
Post by: paramvir on February 26, 2014, 08:56:58 pm
Michel

Inline editing in column grouping has been fixed in 2.0.4
Title: Re: Header grouping with freeze columns
Post by: mvanhees on February 26, 2014, 09:13:26 pm
Excellent!!

Thanks a lot.