Cell dropdown

Hi,
How do I provide options to my cell's dropdown?

This is my code for the grid column:
...
<GridColumn Field="@nameof(Package.PackageStatus)"
HeaderText="Status"
EditType="EditType.DropDownEdit">
</GridColumn>
...

Any help is appreciated!


1 Reply 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team November 2, 2020 08:45 AM UTC

Hi Preveen, 

Greetings from Syncfusion support. 

We have EditorSettings support to customize the default Dropdown EditType feature in Grid. We suggest you to refer the below documentation for more details regarding this feature. 

And also we suggest you to inform the EditTemplate feature of Grid. With this you can render a custom component to render, when opening the edit form in Grid. In the below documentation, we have rendered a SfAutoComplete inside the EditTemplate. You can render SfDropDownList or any other components based on your requirement. 
References :  

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Marked as answer
Loader.
Up arrow icon