Author Topic: Header grouping with freeze columns  (Read 6641 times)

mvanhees

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Header grouping with freeze columns
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Header grouping with freeze columns
« Reply #1 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

mvanhees

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Header grouping with freeze columns
« Reply #2 on: February 17, 2014, 10:32:24 am »
Excellent!!
That work perfectly!

Thanks a lot.
Michel.


mvanhees

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Header grouping with freeze columns
« Reply #3 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Header grouping with freeze columns
« Reply #4 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.

mvanhees

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Header grouping with freeze columns
« Reply #5 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Header grouping with freeze columns
« Reply #6 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.



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Header grouping with freeze columns
« Reply #7 on: February 26, 2014, 08:56:58 pm »
Michel

Inline editing in column grouping has been fixed in 2.0.4

mvanhees

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Header grouping with freeze columns
« Reply #8 on: February 26, 2014, 09:13:26 pm »
Excellent!!

Thanks a lot.