편집해야하는 셀이 필요한 cellEditEnd 이벤트 메서드를 만들려고합니다. selectedCell 함수를 사용할 수는 있지만 메서드 내부에 셀 객체를 가져 오는 방법이 있는지 알고 싶습니다.WinForms DataGridView 셀 편집 끝 이벤트에서 셀 가져 오기
0
A
답변
1
당신은 CellEndEdit 이벤트 처리 할 수 https://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellendedit(v=vs.110).aspx
매개 변수로 DataGridViewCellEventArgs 소요, 이것은 당신이 필요로하는 셀의 행과 열 인덱스를 제공해야합니다.
+0
답변 해 주셔서 감사합니다! – tomiG
관련 문제
- 1. DataGridView 셀 편집 끝 이벤트
- 2. Winforms DataGridView 사용자 지정 편집 컨트롤/셀
- 3. datagridview 셀 편집 오류
- 4. WinForms의 DataGridView 편집 셀
- 5. DataGridView 셀 편집
- 6. DataGridview 셀 오류 값 가져 오기
- 7. poi 이벤트에서 셀 배경색 가져 오기
- 8. DataGridView 선택한 셀 스타일
- 9. 셀 값 및 위치 가져 오기 편집 셀 이벤트
- 10. 끝 편집 후 DataGridView 업데이트
- 11. C# DataGridView : 런타임에 행 셀 편집
- 12. Linq의 엔터티에 대한 DataGridView 셀 편집
- 13. 다른 셀 시트에 셀 내용 가져 오기
- 14. 셀 클릭시 Gridview 셀 값 가져 오기
- 15. 셀 편집 이벤트에서 활성 DataGrid의 이름을 가져 옵니까?
- 16. DataGridView 셀 유효성 검사
- 17. DataGridView 셀 업데이트
- 18. DataGridViewCell 선택한 셀 옆에 셀 값 가져 오기
- 19. DataGridView 셀 색상 변경
- 20. DataGridView 셀 텍스트 및 셀 값
- 21. DataGridView 셀 Intellisense를 제공하는 방법?
- 22. Datagridview 셀 스타일 업데이트
- 23. DataGridView 셀 유효성 검사
- 24. DataGridView 읽기 전용 셀
- 25. datagridview 셀 스타일 업데이트
- 26. Datagridview 머리글 셀
- 27. datagridview 행 셀 값
- 28. DataGridView 셀 사용자 지정
- 29. DataGridView 셀 인덱스 문제
- 30. DataGridView 셀 병합
CellEndEdit 이벤트가 작동하지 않습니까? – LarsTech