How does incell editing work with custom cell templates

1 Answer 28 Views
Grid
Mat
Top achievements
Rank 1
Iron
Iron
Iron
Mat asked on 16 Oct 2024, 09:16 AM

I've creted a Grid that uses a custon cell template for a number of columns.

I'm now trying to implement incell editing, following the example in the documentation, but the @cellclick event is not triggering when I click on a cell that uses a custom template.

How can I get the @cellclick event to fire?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 18 Oct 2024, 04:17 PM

Hi, Mat,

The custom cell template aims to give full freedom of the developer to define its behavior and as such it does not inherit the handlers of the default cell, hence the cellclick handler is not triggered.

In the below sample, you can see an implementation of a custom command cell the click of which is bringing the Grid into Edit mode:

I hope the provided sample will be helpful for you.

Regards,
Vessy
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
Mat
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Vessy
Telerik team
Share this question
or