Helper functions to initialize listview columns and add listview rows.