Skip to Content
0
Jun 16, 2016 at 03:20 PM

Hide body row of a table based on cell data

1109 Views

Hi Experts,

I have a requirement to hide a body row of table based on cell data(when field is 0.00) or to hide body row on page 1.

When I write script on 'layout:form' event of body row then body row disappears but that much of space still comes that looks weird.

My script was:

if ( this.field.rawValue == "0.00" )

{

this.presence = "hidden";

}

I want to hide body row dynamically means width of row should automatically adjust.Space should not appear in between.

Please help me out.

Thanks in advance.

-Ankit