Skip to main content 홈 크리에이터 syncfusion aspnetcore-ui-components-skills syncfusion-aspnetcore-listview
syncfusion-aspnetcore-listview Master the Syncfusion ListView component for ASP.NET Core to create interactive, data-bound lists with advanced features like grouping, virtualization, templates, and nested navigation.
설치로 이동 Skills Marketplace 커뮤니티가 만든 AI 스킬을 발견하고 탐색하세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-listview명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Zip 다운로드 다운로드 중... name syncfusion-aspnetcore-listview description Master the Syncfusion ListView component for ASP.NET Core to create interactive, data-bound lists with advanced features like grouping, virtualization, templates, and nested navigation. metadata {"author":"Syncfusion Inc","version":"34.1.29"}
Implementing ListView in ASP.NET Core
The ListView component is a powerful, feature-rich control that displays data in interactive hierarchical structures. It supports data binding (local and remote), grouping, nested lists, custom templates, virtualization for performance, and comprehensive keyboard accessibility.
When to Use This Skill
Use this skill when you need to:
Display Interactive Lists : Render data collections with click selection, hover effects, and visual feedback
Group Related Items : Organize list items into categories using the groupBy field
Support Nested Navigation : Create multi-level hierarchies with parent-child relationships
Optimize Performance : Handle large datasets (1000+ items) with UI virtualization
Customize Appearance : Apply templates for headers, items, and group titles
Enable Selection : Implement single or multi-select with checkboxes
Handle Remote Data : Bind to server APIs with DataManager and Query
Implement Keyboard Access : Support keyboard navigation for accessibility
Component Overview
The ListView component in Syncfusion EJ2 for ASP.NET Core uses TagHelper syntax and exposes core properties:
Category Key Properties Data Binding dataSource, fields, queryDisplay Control template, headerTemplate, groupTemplateUser Interaction showCheckBox, checkBoxPosition, sortOrderPerformance enableVirtualization, heightAppearance cssClass, width, showHeader, showIconAccessibility enableRtl, event handlers
Documentation and Navigation Guide
Getting Started & Data Binding
ASP.NET Core project setup and TagHelper import
DataSource property variations (array, JSON, remote)
Field mapping for text, id, and nested properties
Remote data binding with DataManager and Query
Basic ListView initialization examples
Field Settings & Configuration
Complete field mapping options (14 properties)
iconCss for dynamic icon customization
enabled, isVisible, isChecked state properties
groupBy for categorization logic
child property for nested list support
Validation patterns and edge cases
Grouping, Nested Lists & Virtualization
Grouping items by category with groupTemplate
Nested list navigation structure
enableVirtualization for large datasets
Window scroll vs container scroll modes
Conditional rendering in templates
Performance optimization strategies
Templates & Customization
template property for item customization
headerTemplate and groupTemplate
Built-in CSS classes (e-list-wrapper, e-list-avatar, e-list-badge, etc.)
Avatar and multi-line list patterns
Custom HTML markup in templates
Checkboxes, Selection & Events
showCheckBox property and positioning (Left/Right)
select event with SelectEventArgs
Multi-item selection patterns
Checked state management
Selection event handling
Styling & Appearance
cssClass for custom styling
height and width control
showHeader and showIcon properties
CSS selector reference for styling
Hover and focus state customization
Events & Error Handling
select, scroll, actionBegin, actionComplete events
Event binding in TagHelper
Remote data failure scenarios
Error handling strategies
Sorting, Filtering & Scrolling
sortOrder property (Ascending, Descending)
sortBy field mapping
scroll event for dynamic loading
Infinite scroll patterns
Filter operations
Accessibility & Keyboard Navigation
Keyboard shortcuts (Arrow Up/Down, Select, Back)
ARIA attributes (aria-selected, aria-level)
enableRtl for right-to-left support
Screen reader compatibility
Best practices for inclusive design
Advanced Features & Persistence
enablePersistence for state retention
animation property with AnimationSettings
locale for localization
disableHtmlEncode and enableHtmlSanitizer
RTL and cultural adaptations
API Reference
Complete ListView properties (30+ properties documented)
Events reference (select, scroll, actionBegin, actionComplete, actionFailure)
Field mapping API with type signatures
Enumerations (SortOrder, AnimationEffect, etc.)
Method signatures for programmatic control
Event argument types and properties
Quick Start Example Basic ASP.NET Core ListView with TagHelper:
@{
ViewData["Title"] = "ListView Example";
List<ListItem> dataSource = new List<ListItem>()
{
new ListItem { id = "1", text = "Artwork" },
new ListItem { id = "2", text = "Abstract" },
new ListItem { id = "3", text = "Modern Painting" },
new ListItem { id = "4", text = "Ceramics" }
};
}
<ejs-listview id="list" dataSource="dataSource"
showHeader="true" headerTitle="Art Gallery">
</ejs-listview>
@code {
public class ListItem
{
public string id { get; set; }
public string text { get; set; }
}
}
With Selection & Checkbox:
<ejs-listview id="list" dataSource="dataSource"
showCheckBox="true" checkBoxPosition="Right">
</ejs-listview>
<ejs-listview id="list" dataSource="dataSource">
<e-listview-fieldsettings text="text" groupBy="category" id="id"></e-listview-fieldsettings>
</ejs-listview>
Common Patterns
Pattern 1: Simple Data List Use dataSource with array of strings or objects; map fields.text for display.
Pattern 2: Categorized Groups Set fields.groupBy to organize items under category headers automatically.
Pattern 3: Nested Hierarchies Map fields.child to enable drill-down navigation through parent-child relationships.
Pattern 4: Large Dataset Optimization Enable enableVirtualization="true" to render only visible items; improves performance 10x+.
Pattern 5: Custom Item Display Use template property with <div class="e-list-wrapper"> for rich formatting (avatars, badges, multi-line text).
Pattern 6: Remote Data Integration Use dataSource with DataManager; set query to filter/sort server-side; bind fields to match API response.
Key Field Mappings Reference The fields property controls data extraction. Common mappings:
Field Property Purpose Example textDisplay text for item text="productName"idUnique identifier id="productId"groupByCategory/group field groupBy="category"childNested list data child="subcategories"iconCssIcon class iconCss="iconClass"enabledEnable/disable state enabled="isActive"isCheckedCheckbox state isChecked="isSelected"isVisibleVisibility state isVisible="isVisible"tooltipHover tooltip text tooltip="description"sortBySort field sortBy="name"htmlAttributesCustom attributes htmlAttributes="attributes"
Common Use Cases
Use Case 1: Product Category Browser Group products by category; enable selection for shopping cart addition.
Use Case 2: File/Folder Navigation Use nested lists with icons for file explorer interface.
Use Case 3: Task Management List Combine checkboxes with templates for todo/task display and status tracking.
Use Case 4: Contact Directory Sort alphabetically; template with avatars and contact info; filter by category.
Use Case 5: Large Data Feed (News, Logs) Enable virtualization; implement scroll event for dynamic loading; optimize rendering.
이 저장소의 다른 Skills syncfusion-aspnetcore-grid Implements Syncfusion ASP.NET Core Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.
syncfusion-aspnetcore-pivot-table Use this skill when users ask how to build Syncfusion PivotView/pivot tables in ASP.NET Core apps. Trigger for server integration, data binding (API/DB/remote), OLAP, aggregation, drill-down, grouping, filtering, conditional formatting, exporting (Excel/PDF/CSV), or pivot charts in ASP.NET Core. Not for MVC/Blazor/JS.
syncfusion-aspnetcore-ai-assistview Implement the Syncfusion ASP.NET Core AI AssistView control for interactive AI-powered assistance interfaces. Use this skill when implementing AI assistants, prompt suggestions, custom views, file attachments, markdown responses, customizable templates, regenerable responses, thinking capabilities (chain-of-thoughts), generative UI blocks, Text-to-Speech conversion, Speech-to-Text voice input, or customizing advanced AI conversation UI in ASP.NET Core applications.
syncfusion
syncfusion/aspnetcore-ui-components-skills
GitHub 저장소 열기