(DevExpress) GirdView.ColumnFilterChanged
- GridControl 안에 존재하는 GirdView
- filter 영역에 이벤트를 감지하고 싶은 경우 사용한다.
사용법
- design 에서 직접 이벤트 추가
- 코드를 통한 이벤트 바인딩
private void gridView_ColumnFilterChanged(object sender, EventArgs e)
{
GridView view = sender as GridView;
}
특정 컬럼 필터만 감지하고 싶은경우
private void gridView_ColumnFilterChanged(object sender, EventArgs e)
{
GridView view = sender as GridView;
if (view != null && view.FocusedColumn != null && view.FocusedColumn.FieldName == "columnName")
{
// Handle your logic for filter changes in the "columnName" column here
}
}
Reference
ColumnView.ColumnFilterChanged Event | WinForms Controls | DevExpress Documentation
ColumnView.ColumnFilterChanged Event Occurs when a column’s filter condition changes. This event also raises when the Find Panel finishes its search. Namespace: DevExpress.XtraGrid.Views.Base Assembly: DevExpress.XtraGrid.v23.1.dll NuGet Package: DevExpr
docs.devexpress.com
There might be incorrect information or outdated content.
'.NET > Winforms' 카테고리의 다른 글
| [WINFORMS] create controls (dynamic) (0) | 2023.09.08 |
|---|---|
| [WINFORMS][DevExpress] GridControl - Focused Row (0) | 2023.08.22 |
| [WINFORMS] form 데이터 전송 (0) | 2023.08.18 |
| [WINFORMS] Control.ControlCollection 메소드 (0) | 2023.08.16 |
| [WINFORMS] Tab Control (0) | 2023.08.16 |