Grid 에서 RichEdit 쓸때 엔터키로 높이 자동 조절... // GridVIew 행 높이 자동 조절 활성화 gvMain.OptionsView.RowAutoHeight = true; // 특정 컬럼에 Editor 를 할당...
DevExpress XtraGrid Row Indicator Custom Draw
실행 결과는 아래 스크린샷을 참조하시면 됩니다 샘플 별도 첨부 WindowsFormsApplication2다운로드 // 1. 컬럼이 3개 있는 경우 초기화 루틴 advBandedGridView1.IndicatorWidth = 200;...
DevExpress XtraGrid 의 구성 참조
Ref : http://documentation.devexpress.com
DevExpress XtraGrid 의 RepositoryItemCheckEdit 컬럼의 헤더에 전체선택(해제)기능 넣기
여기에서 체크박스가 표시되는 Column 의 FieldName 은 “Select”로 함 1. RepositoryItemCheckEdit 를 전역변수로 선언 // CheckBox 로 표시될 ColumnEdit...
DevExpress XtraGrid 의 Row State 가 반영되는 시점
XtraGrid 사용시 동일한 행에서 특정 컬럼의 값을 변경하는 경우는 해당 행의 RowState 가 바로 변경되지 않음. 기본적으로 다른 행으로 이동이 되는 경우 반영이 됨. 동일한 행에서 데이터 변경시 강제로 RowState 가 반영되게 할려면...
DevExpresss XtraGrid Group Level Indent Pixel 가져오기
gvMain.LevelIndent 의 기본값인 -1 일때도 위 소스로 실제 Pixel 을 구해올 수 있음 ((GridViewInfo)gvMain.GetViewInfo()).CalcLevelIndent() *...
DevExpresss XtraGrid Footer CustomDraw
using DevExpress.Utils; using DevExpress.XtraGrid.Views.Grid; using System.Drawing; private void gvMain_CustomDrawFooterCell(object sender,...
DevExpress XtraGrid 에서 선택된 행 유지
출처 : http://www.devexpress.com/Support/Center/KB/p/A364.aspx?searchtext=two+gridview&tid=4b2d6f97-c4ae-48fc-87f6-8c5da6541e40&pid=-1 정렬...
DevExpress XtraGrid 의 특정 Row Handle 과 Grid DataSource 의 Index
XPO 와 Grid 를 연동해서 작업을 하던중 알아낸 차이점 Grid 의 선택된 RowHandle 받기 - gridView2.GetSelectedRows() 실제 Grid 의 선택된 Row 의 실제 데이터소스의 Index 받아오기 -...
DevExpress XtraGrid 에서 그룹Row 를 제외한 Row Handle List 받아오기
private IList GetSelectDataSourceRowIndexWithoutGroup() { IList _list = new List(); try { int[] _arrHandles = gridView2.GetSelectedRows();...
무료 온라인 전광판
