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

Dropdownlist in a non editable grid

5 Answers 167 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Software asked on 25 Mar 2019, 04:57 PM

I'm trying to get some dropdownlists in some columns in a non-editable grid (row), the reason is these column may contain more data than just 1 entry per row and a dropdown would let the user be able to quickly view the extra entries for that column.

All the examples I've seen are for editable grids (rows).

Is this even possible? 

Asking because everything I've tried to date just hasn't worked.

Thanks

5 Answers, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 27 Mar 2019, 10:47 AM
Hi, Craig,

It is possible to use widgets in the template of the Kendo UI Grid.

We have a section in the documentation about it. Have a look at it and let us know in case further questions arise:

https://docs.telerik.com/aspnet-mvc/helpers/grid/faq#how-to-use-kendo-ui-widgets-inside-grid-client-column-templates

Regards,
Alex Hajigeorgieva
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
Software
Top achievements
Rank 1
answered on 04 Apr 2019, 04:47 PM

Thank you for the reply, was pulled to another project.

I followed the example that you linked to and I'm having the same issue that I was having with the dropdownlist.

I incorporated the menu example into my non-editable grid, the menu shows up in the grid but is not clickable.

Thanks

0
Accepted
Alex Hajigeorgieva
Telerik team
answered on 08 Apr 2019, 03:27 PM
Hi, Craig,

I have prepared a runnable project for your reference which features a Kendo UI DropDownList in one column and a Kendo UI Menu in another and the grid is selectable. (I assume this is what you mean by clickable).

I have added a trial version of the Kendo.Mvc.dll in the lib folder as this is a public thread so you may replace that with the local copy that you have and it should work well after restoring the missing packages.

Let me know in case you have any issues with the project or additional questions.

Kind Regards,
Alex Hajigeorgieva
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
Software
Top achievements
Rank 1
answered on 09 Apr 2019, 05:55 PM

I was able to get everything I required working based on the original link you provided, just had some adjustments to do.

Thanks for your responses and sorry about the extra work you had to do in creating the sample project.

 

0
Alex Hajigeorgieva
Telerik team
answered on 10 Apr 2019, 07:21 AM
Hello, Craig,

Thank you for the feedback. It is great to know that in this case, the documentation had everything you needed. 

I am pleased to hear all is working as desired now in the project that you are working on.

Kind Regards,
Alex Hajigeorgieva
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
Grid
Asked by
Software
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Software
Top achievements
Rank 1
Share this question
or