프로젝트

일반

사용자정보

개정판 8507512b

ID8507512b5b9f1e416d64b7273b4695f918b0ad90
상위 95090222
하위 aee80c0b, b63621e8

김태성이(가) 일년 이상 전에 추가함

issue #0000 multiselect 가능하도록 수정

Change-Id: Ie93fccc893b49d8b6c981ed1516e7f1861d23a75

차이점 보기:

ID2.Manager/ID2.Manager/Main.cs
140 140
            this.radGridViewDocuments.FilterChanged += RadGridViewDocuments_FilterChanged;
141 141
            this.radGridViewDocuments.CellValidated += RadGridViewDocuments_CellValidated;
142 142
            this.radGridViewDocuments.ValueChanged += RadGridViewDocuments_ValueChanged;
143

  
143
            this.radGridViewDocuments.MultiSelect = true;
144
            this.radGridViewDocuments.EnableHotTracking = true;
144 145
            this.radGridViewDocuments.MasterView.TableHeaderRow.MinHeight = 36;
145 146
            this.radGridViewDocuments.TableElement.RowHeaderColumnWidth = 36;
146 147
            //this.radGridViewDocuments.MasterView.TableSearchRow.InitialSearchResultsTreshold = ;
......
1791 1792

  
1792 1793
        private void RadGridViewDocuments_CellValidated(object sender, CellValidatedEventArgs e)
1793 1794
        {
1795
            if(e.Column is GridViewCheckBoxColumn && radGridViewDocuments.SelectedRows?.Count() > 1)
1796
            {
1797
                radGridViewDocuments.SelectedRows.ForAll(x =>
1798
                {
1799
                    x.Cells[0].Value = e.Value;
1800
                });
1801
            }
1802

  
1794 1803
            //if (e.Column is GridViewComboBoxColumn)
1795 1804
            //{
1796 1805
            //    bool isChecked = e.Row.Cells["Checked"].Value != null && Convert.ToBoolean(e.Row.Cells["Checked"].Value);

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)