Author Topic: How to resize grid height if row is hidden  (Read 555 times)

tarunsharma

  • Newbie
  • *
  • Posts: 16
    • View Profile
How to resize grid height if row is hidden
« on: December 17, 2020, 02:31:19 am »
I created the custom method to filter nested grid row and it will set row visibility to hidden, if search value does not match with row vale. it is working fine the only problem is when row is hidden I need to reset the grid height. For example in first image there are three row in the nested grid having region 30,30 and 35. When I am doing filter on 35 it will hide first two rows as shown in image two but showing blank space. I want to remove that blank space so that is will show only one nested record. As par my understanding i need to resize nested grid height. Can you help me out in this?
« Last Edit: December 17, 2020, 02:38:56 am by tarunsharma »

tarunsharma

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: How to resize grid height if row is hidden
« Reply #1 on: December 17, 2020, 02:40:38 am »
Filtered nested grid.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5090
    • View Profile
Re: How to resize grid height if row is hidden
« Reply #2 on: December 18, 2020, 09:08:08 pm »
grid automatically adjusts its height when a row is hidden.

May I know how have you hidden the row.