How to Create groups with listview control for different data

Jul 11, 2008 06:25 PM
Article cover image

In this video tutorial, Chris Pels will show how to group items when displaying data in a ListView control. First, see the basics of item layout in the ListView control with the LayoutTemplate and the ItemTemplate. Then, learn how the GroupTemplate relates to the LayoutTemplate and ItemTemplate within a ListView to establish a group of data. See how to use floating DIV elements to create a flexible tabular layout since any of the templates used with the ListView can contain any HTML. This provides significant flexibility in creating groupings of data using the ListView control. Finally, see some options for enhancing the look by manipulating the CSS styles used in the ListView templates and how to use the GroupSeparatorTemplate as well as the EmptyItemTemplate.

Video not playing properly? Click here to see the original video

Just updated your iPhone? You'll find updated Apple Intelligence capabilities, new wallpapers, and enhancements to Calculator, PDF cropping, and Live Voicemail, among other useful features. Find out what's new and changed on your iPhone with the iOS 18.3 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!