본문 바로가기

Telerik7

Telerik GridViewSpreadExport 이용 방법 Telerik 버전 2022.1.222.40를 사용하고 있다. RadGridView의 내용을 excel, csv 파일로 export 하는 기능을 제공한다고 예제에 있는데 참고 사이트와 같이 코드를 작성하면 참조를 추가하라는 dll이 없어서 당황을 했다. 추후 export 기능을 사용할 때 참고를 위해서 기록을 남긴다. https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/export-to-csv Export to CSV - WinForms GridView Control | Telerik UI for WinForms Controls / GridView / Exporting Data This method offers excel.. 2022. 6. 27.
Telerik RadGridView drag and drop 할 때 row index 확인 방법 Telerik 예제를 보고 GridView의 Drag and drop 테스트 프로그램을 개발하는 중에 drop을 할 때 row index 찾는 방법을 알 수가 없어서 고생을 했다. 검색을 해 보다가 찾은 방법을 기록으로 남긴다. 나중에 또 이용을 할 때 도움이 되길 바라면서 말이다. drop 함수의 코드이다. private void gridPoint_ProcessDragDrop(object sender, RadDropEventArgs e) { SnapshotDragItem draggedSnapshot = e.DragInstance as SnapshotDragItem; if (draggedSnapshot == null) { return; } GridDataRowElement rowElement = drag.. 2022. 6. 27.
Telerik GridView Drag and Drop Example Telerik GridView를 사용해서 Drag and drop 기능을 사용할 때 아래 싸이트에 나오는 방식으로 잘 되지 않아서 git에 올라와 있는 예제 소스를 다운 받아 빌드를 해봤다. https://www.telerik.com/blogs/extending-radgridview-to-enable-row-drag-and-drop-functionality Extending RadGridView to Enable Row Drag and Drop Functional Learn how to extend the WinForms RadGridView control to give the users the ability to drag and drop full rows of data between grids. Dow.. 2022. 6. 3.
Telerik RadGrid Refresh, 동적으로 Binding data 변경 후 GridView Refresh Telerik의 RadGridView를 사용하고 있는데 DataSource로 바인딩한 정보를 동적으로 변경하면 화면에 바로 업데이트 되지 않는다. 가장 기본적인 방법은 DataSource = null로 초기화를 하고 다시 바인딩을 하는 것이다. 이렇게 하면 당연히 동적으로 변경된 데이터가 화면에 보일 것이다. 하지만 이렇게 하면 화면이 깜박거리거나 데이터가 많으면 표시되는 속도가 느린 문제가 있다. WPF나 Winform 모두 처리하는 방법은 같다. 검색을 해보니 아래와 같은 정보를 찾을 수 있었다. https://docs.telerik.com/devtools/winforms/controls/gridview/populating-with-data/reflecting-custom-object-changes-.. 2022. 6. 3.
C# WinFrom에서 Telerik의 RadSplitContainer사용하는 방법 1) Form을 만든다. 도구 상자에서 RadSplitContainer 선택한다. 2) 도구 상자에서 RadSplitContainer를 form 위에 올려 놓는다. 3) RadSplitContainer 속성에서 Dock을 Fill로 변경한다. 4) RadSplitContainer Tasks 메뉴를 실행한다. RadSplitContainer의 오른쪽 위에 있는 작은 화살표 모양을 클릭하면 된다. 5) Add Panel을 눌러 RadSplitContainer에 panel을 추가한다. 6) Horizontal / Vertical을 눌러 split의 방향을 변경한다. 7) 각각의 panel에 원하는 control을 도구상자에서 선택에 추가한다. 2022. 4. 12.
Telerik RadRibbonView Example (리본바 메뉴 예제) Telerik을 리본바 메뉴 윈도우를 만들어 보았다. 홈페이지의 Getting Started를 보면 쉽게 만들수 있지만 나처럼 WPF, Telerik 초보자를 위해서 만드는 과정을 정리해 본다. 잊으면 나중에 다시 볼 수 있도록~ https://docs.telerik.com/devtools/wpf/controls/radribbonview/gettingstarted WPF RibbonView | Getting Started | Telerik UI for WPF This tutorial will walk you through the creation of a sample application that contains RadRibbonView. In order to use the RadRibbonView con.. 2022. 1. 19.
Hierarchical RadGridView Example https://docs.telerik.com/devtools/wpf/controls/radgridview/hierarchical-gridview/basic-hierarchies WPF DataGrid | Basic Hierarchies | Telerik UI for WPF Controls / RadGridView / Hierarchical GridView RadGridView allows you to display hierarchical data in the form of nested grid views. To do so you have to define a table definition for each subset of data you want to display. Such a definition ca.. 2021. 9. 2.
LIST