Wrapping inline editor in a grid

1 Answer 113 Views
Grid
Peter
Top achievements
Rank 1
Peter asked on 29 Sep 2022, 04:26 PM

Is it possible to just wrap the default inline grid editor with some additional markup? I want some html added inside.

 

If not, then how do I get the tool tip validator?

        <GridColumn Field=@nameof(Person.Name) Context="pxxx">
            <EditorTemplate>
                <TelerikTextBox @bind-Value=@(((Person)pxxx).Name)/>
                Some additional HTML here
            </EditorTemplate>
        </GridColumn>

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 Oct 2022, 11:43 AM

Hi Peter,

As you correctly assume, the default editor is not exposed and cannot be wrapped / reused.

In your case, add a <TelerikValidationTooltip /> inside the EditorTemplate. Also check the Telerik Validation Tools Overview.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or