개정판 8507512b
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