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

Dropdown in Command Column with Row Select

1 Answer 522 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kelly
Top achievements
Rank 2
Kelly asked on 22 Mar 2020, 08:08 PM
I would like to have a dropdown in the CommandColumn (or a column that is editable), but still be able to select the row from one of the other non-editable columns. This is for an action like setting the state of the record (completed, in-work, etc.), placing it in-line edit, or even deleting. It seems that you can have one or the other; in-cell editing, or row select. Am I missing something here? Maybe Templates in a CommandColumn would be the solution?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 Mar 2020, 07:41 AM

Hello Kelly,

With InCell editing, the click action would be ambigious - either a cell should be opened, or the row selected. This is why in this mode a checkbox column is to be used: https://docs.telerik.com/blazor-ui/components/grid/selection/overview#notes

As for a dropdown for editing - you can use an editor template: https://docs.telerik.com/blazor-ui/components/grid/templates#edit-template

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
Grid
Asked by
Kelly
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Share this question
or