개정판 da5e5085
issue #0000
checkbox multi 로 값 변경시
- 스크롤바 유지되도록 수정
Change-Id: I792a02004f74b890989226d0671fe3d7b7ada9b9
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
1947 | 1947 |
|
1948 | 1948 |
if (chkDatas.Any()) |
1949 | 1949 |
{ |
1950 |
RadScrollBarElement vScroll = radGridViewDocuments.TableElement.VScrollBar; |
|
1951 |
int position = vScroll.Value; |
|
1952 |
bool isMaxValue = position == vScroll.Maximum - vScroll.LargeChange + 1; |
|
1953 |
radGridViewDocuments.TableElement.UpdateView(); |
|
1954 |
|
|
1950 | 1955 |
string colValue = e.Row.Cells[e.Column.Name].Value == null ? string.Empty : (string)e.Row.Cells[e.Column.Name].Value; |
1951 | 1956 |
|
1952 | 1957 |
radGridViewDocuments.BeginUpdate(); |
... | ... | |
1962 | 1967 |
this.ResumeLayout(true); |
1963 | 1968 |
radGridViewDocuments.MasterTemplate.EndUpdate(); |
1964 | 1969 |
radGridViewDocuments.EndUpdate(); |
1965 |
|
|
1970 |
|
|
1971 |
if (position > 0) |
|
1972 |
{ |
|
1973 |
if (isMaxValue) |
|
1974 |
{ |
|
1975 |
position = vScroll.Maximum - vScroll.LargeChange + 1; |
|
1976 |
} |
|
1977 |
radGridViewDocuments.TableElement.VScrollBar.Value = position; |
|
1978 |
} |
|
1966 | 1979 |
} |
1967 | 1980 |
} |
1968 | 1981 |
} |
내보내기 Unified diff