This is a migrated thread and some comments may be shown as answers.

Grid CellClickEvent documentation

1 Answer 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 15 Nov 2017, 08:18 PM

I'm trying to code a grid cell click event and have found two different examples I'm using. They seem to conflict regarding the parameters click event can use.

https://www.telerik.com/kendo-angular-ui/components/grid/api/CellClickEvent/

This shows these 7 parameters

public cellClick(column: any, columnIndex: number, isEdited: boolean, originalEvent: any, rowIndex: number, sender: GridComponent, type: any)

This example shows 4 parameters.

public cellClickHandler({ sender, rowIndex, columnIndex, dataItem, isEdited })

Which one is correct?

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 16 Nov 2017, 08:49 AM
Hi Aaron,

I am not sure which is the other example, that you are referring to. However the linked API page is correct - the CellClickEvent consists of those 7 parameters.


Regards,
Dimiter Madjarov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Aaron
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or