andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Delete Row in Grid ind Mobillist

Hello

I have a mobillist, filled from a Rest Service
In this mobillist i have a grid
Row1/Col1 : Tel Row1/Col2
Row2/Col1 : Mobil Row2/Col2

now i would like if a field is empty the whole Row should be hidden

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Delete Row in Grid ind Mobillist

Hello! In responce parameter mapping to Label (or any other component you use for mapping) add the following JS:
codeif (value == "") {
element.parents("tr").hide();
}
return value;/code

andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Delete Row in Grid ind Mobillist

perfect!

Return to “Issues”