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

RadGridView with custom column cells, multiple item selection, and right menu click

2 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 16 Nov 2018, 10:30 PM

Hello everyone! 

I'm currently not sure how to implement a solution for this problem.  I want a RadGridView which has the ability to select multiple items whether it's shift or ctrl clicks, but I once the items are selected, I want the user to be able to right click and make a selection in a menu.  For instance, if a grid column is just a column to designate colors of each item, the user can select in the menu, change color and a window pops open and then they can select the color.  Once the color is selected, then all the items that the user selected would be changed to that color.  I understand I should use the RadContextMenu, but I'm not certain on how to use it with multiple selections.

Also, how can I make a custom column?  For instance, I could just have a rectangle that would fill up and items cell and be a randomized color?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 21 Nov 2018, 12:52 PM
Hello Jon,

As a starting point for integrating the RadContextMenu with the RadGridView, you can take a look at the RadContextMenuForRadGridView SDK example. You can also take a look at the Row Context Menu RadGridView example from our demos.

As for creating a custom column, you can take a look at the Add a Button Column RadGridView article in our documentation. Additionally, you can check out the RowStyleSelector article which demonstrates how you can conditionally style rows.

Please, check out the above referenced articles and let me know if they help.

Regards,
Vladimir Stoyanov
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
Jon
Top achievements
Rank 1
answered on 14 Mar 2019, 01:58 PM
I apologize for the late response, but the examples you provided worked!  Thank you!
Tags
GridView
Asked by
Jon
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Jon
Top achievements
Rank 1
Share this question
or