Author Topic: Nested grid - Padding of children  (Read 3428 times)

halfpixel

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 4
    • View Profile
Nested grid - Padding of children
« on: July 11, 2019, 06:43:35 am »
Hello
I have nested structure of rows with frozen first 3 cells
and I am trying to find solution how to remove left padding of every child grid object
and remove headers of all children

Please, look at attachment. I didn't find any solution except CSS fix, but that's crazy

Could anybody help me?

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Nested grid - Padding of children
« Reply #1 on: July 11, 2019, 10:04:20 am »
your screenshot is missing.

halfpixel

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Nested grid - Padding of children
« Reply #2 on: July 11, 2019, 12:14:38 pm »
screenshot

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Nested grid - Padding of children
« Reply #3 on: July 15, 2019, 10:45:07 am »
It's not clear from the screenshot about the padding of nested grids.

The header of a grid can be hidden/removed with showHeader option.

https://paramquery.com/pro/api#option-showHeader
« Last Edit: July 15, 2019, 10:46:54 am by paramvir »

halfpixel

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Nested grid - Padding of children
« Reply #4 on: July 15, 2019, 01:08:04 pm »
thanks for hint how to hide headers, I will try it

about padding: if you freeze some columns, then child is rendered with left padding

I would like to have it all on left side, maybe with some depth value (for css)
because we have deep three (nested) structure and we need to save place

thanks for any help

halfpixel

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Nested grid - Padding of children
« Reply #5 on: July 25, 2019, 06:06:51 pm »
Hello, do you have any idea how to do it?

show table without left margin of frozen columns

thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Nested grid - Padding of children
« Reply #6 on: July 25, 2019, 06:11:08 pm »
Left padding is essential for the nested grid / view, without which it would display below the left frozen pane.