How do I format field labels in the grid popup edit form?

1 Answer 39 Views
Grid
John
Top achievements
Rank 2
Iron
Iron
Iron
John asked on 29 Aug 2024, 06:05 PM | edited on 29 Aug 2024, 06:22 PM

How do I format field labels in the grid popup edit form?  I want to style the labels on a popup edit form.  I also would like to associate the labels with fields.

 


<GridColumn Field="@nameof(ParticipantVM.ParticipantCode)" Width="100px" Filterable=true>
<EditorTemplate>
 @{
                            var item = (ParticipantVM)context;
                            <div @onkeydown:stopPropagation>
 <TelerikTextBox @bind-Value="@item.ParticipantCode" Id="pcode" Placeholder="Enter a Code" DebounceDelay="0" />
 </div>
 }
     </EditorTemplate>
 </GridColumn>

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Aug 2024, 12:19 PM

Hello John,

The Grid uses the column Title as a field label in the Grid popup edit form. If the column Title is not set, then the Grid uses the column Field.

If you need additional customization and the column Title is not enough for you, then you may need to use a full Grid popup form template.

Regards,
Dimo
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Tags
Grid
Asked by
John
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or