Page 1 of 1

Delete Row in Grid ind Mobillist

Posted: Wed Jun 05, 2013 9:08 am
by andi

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


Delete Row in Grid ind Mobillist

Posted: Wed Jun 05, 2013 9:52 am
by Maryna Brodina

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


Delete Row in Grid ind Mobillist

Posted: Wed Jun 05, 2013 10:08 am
by andi

perfect!