Is there a way to set the height of a GridLayout row in typescript? I have a legend in a row and I want it to show/hide when a form is submitted. I’ve tried:
let legend = <GridLayout>this.legend.nativeElement; let rowArray = legend.getRows(); rowArray = new ItemSpec(40, GridUnitType.PIXEL);
It doesn’t work.
Neither does rowArray.height = 40
It appears when I getRows() I don’t get an array, but an Observable.