Show a value in combo box on pageload

1 Answer 95 Views
ComboBox Grid GridLayout
Uthaya
Top achievements
Rank 1
Uthaya asked on 27 Jan 2022, 05:22 PM
I am using telerikcombobox inside telerikgridn as column. I need to show a value from db in the empty combobox on pageload. Can anyone please help me. Thank you

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 30 Jan 2022, 12:05 PM

Hello Uthaya,

If the combobox is to depend on the row data, you need to use the template of the column to get the current model and show a corresponding value from it in the combobox. You can use any desired business logic to set that value.

The following thread I just answered a few minutes ago shows a very similar scenario that you may fid useful, together with my explanations in the answer: https://www.telerik.com/forums/unable-to-set-initial-value-of-the-combobox-in-a-grid

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Tags
ComboBox Grid GridLayout
Asked by
Uthaya
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or