개정판 e22c6926
issue #0000
Team, DWG_ID 는 UI에서 수정되지 않도록 변경
Change-Id: I53bb6e4a4c080e6ef6bc02065da238f7aa9140dd
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
1643 | 1643 |
|
1644 | 1644 |
private void RadGridViewDocuments_ViewCellFormatting(object sender, CellFormattingEventArgs e) |
1645 | 1645 |
{ |
1646 |
if (e.Row is GridViewDataRowInfo) |
|
1646 |
if (e.Row is GridViewNewRowInfo) |
|
1647 |
{ |
|
1648 |
switch (e.CellElement.ColumnInfo.Name) |
|
1649 |
{ |
|
1650 |
case "RefProjectCode": |
|
1651 |
case "DocumentNo": |
|
1652 |
e.Row.Cells[e.CellElement.ColumnInfo.Name].ReadOnly = false; |
|
1653 |
break; |
|
1654 |
} |
|
1655 |
} |
|
1656 |
else if (e.Row is GridViewDataRowInfo) |
|
1647 | 1657 |
{ |
1648 | 1658 |
if (e.CellElement is GridRowHeaderCellElement) |
1649 | 1659 |
{ |
... | ... | |
1690 | 1700 |
e.CellElement.Image = Properties.Resources.files18; |
1691 | 1701 |
} |
1692 | 1702 |
break; |
1693 |
//case "ProdCapture": |
|
1694 |
// if (result.ProdCapture > 0) |
|
1695 |
// { |
|
1696 |
// e.CellElement.Image = Properties.Resources.files18; |
|
1697 |
// } |
|
1698 |
// break; |
|
1699 |
//case "ClientCapture": |
|
1700 |
// if (result.ClientCapture > 0) |
|
1701 |
// { |
|
1702 |
// e.CellElement.Image = Properties.Resources.files18; |
|
1703 |
// } |
|
1704 |
// break; |
|
1705 | 1703 |
case "ID2Capture": |
1706 | 1704 |
if (result.ID2Capture > 0) |
1707 | 1705 |
{ |
1708 | 1706 |
e.CellElement.Image = Properties.Resources.files18; |
1709 | 1707 |
} |
1710 | 1708 |
break; |
1709 |
case "RefProjectCode": |
|
1710 |
case "DocumentNo": |
|
1711 |
if (result.DocID == null) |
|
1712 |
{ |
|
1713 |
e.Row.Cells[e.CellElement.ColumnInfo.Name].ReadOnly = false; |
|
1714 |
} |
|
1715 |
else |
|
1716 |
{ |
|
1717 |
e.Row.Cells[e.CellElement.ColumnInfo.Name].ReadOnly = true; |
|
1718 |
} |
|
1719 |
break; |
|
1711 | 1720 |
} |
1712 | 1721 |
} |
1713 | 1722 |
else |
내보내기 Unified diff