This is a migrated thread and some comments may be shown as answers.

BoardView

3 Answers 176 Views
CardView
This is a migrated thread and some comments may be shown as answers.
Sandor
Top achievements
Rank 1
Sandor asked on 24 Jul 2019, 07:18 AM

Hello,

I'm trying to implement a (Kanban style) BoardView. It's similar to CardView (grouped cards, with drag&drop functionality), but i need a custom layout method: horizontal groups (columns), and vertical items (cards). So i was trying to inherit from ListView (like a CardView), but i cant override internal methods and properties.

I want to inherit from a theme-supported class (CardView/ListView ), not directly from radControl.

Any suggestions?

Thanks!

 

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Jul 2019, 10:47 AM
Hello, Sandor,   

I would recommend you to have a look at the following Code Library which demonstrates a sample approach how to achieve a kanban board: https://www.telerik.com/support/code-library/scrum-like-dashboard

Note that this is just a sample approach and it may not cover all possible cases. Feel free to modify it and extend it in a way which suits your requirements best.

I hope this information helps.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Sandor
Top achievements
Rank 1
answered on 25 Jul 2019, 01:06 PM
Yes, we are aware of this example, and would like to write a better one: one that can make use of the built-in themes. This is why it seemed like a viable solution to inherit from CardView  or ListView. The functionality of the boardView is, it seems not too far fetched from the two mentioned previously.
The question is whether we can override the needed layout properties and methods or there another mode that we simply did not notice.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Jul 2019, 06:42 AM
Hello, Sandor,   

Indeed, you can create a derivative of an existing RadControl, e.g. RadListView, and inherit the themes as well as it is demonstrated in the following help article: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/inherit-themes-from-radcontrols-derivatives

RadListView with IconsView may be suitable for your Kanban view requirement. It supports grouping. The Icon—ĀView displays the list items in icons, a manner that you surely are familiar with from the Windows Explorer. Its Orientation property determines how the icons will be displayed: vertically or horizontally.

this.radListView1.ViewType = ListViewType.IconsView;
IconListViewElement iconsView = this.radListView1.ListViewElement.ViewElement as IconListViewElement;
iconsView.Orientation = Orientation.Horizontal;

RadListView also offers a drag and drop service which allows you to achieve any custom requirement that you have about drag and drop behavior. 

Another suitable control that I can suggest is RadPanorama. It arranges the groups horizontally and you can add as many tiles to a group as you wish. It is possible to build your custom tiles in order to achieve the design you need: https://docs.telerik.com/devtools/winforms/controls/panorama/custom-tiles

Feel free to use this appoach which suits your requirements best.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
CardView
Asked by
Sandor
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Sandor
Top achievements
Rank 1
Share this question
or