igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Grid height: setting "100%" to the height option doesn't work.

Open gdayori opened this issue 8 years ago • 1 comments

Description

setting "100%" to the height option doesn't work.

Steps to reproduce

  1. Set "100%" to the height option and run the app

Result

No recoreds are displayed.

Expected result

Grid height should be 100% regardless of the number of records.

gdayori avatar Mar 07 '18 07:03 gdayori

@gdayori 100% height takes the 100% of the height of the parent container. By default, the document body height is 0px, thus setting 100% in the context of the document body, means that the grid will have 0px height. Put the grid inside a container with height different from 0px.

kdinev avatar Mar 07 '18 08:03 kdinev