I am using this js to hide and show list items based on values within them
var list=Appery("listPreviousInvoices");
if($(this).text()=='Hide'){
$(this).text("Show");
list.find("[name=mobilegridcell_255]:contains(Paid)").parent().hide();
}
else
{ $(this).text("Hide");
list.find("[name=mobilegridcell_255]:contains(Paid)").parent().show();
}
Its sort of working but leaves a blank area as can be seen in the screenshot. How do I hide this part of the list item also?