Html: Use closure to format list data when set db query