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

Method to be fired on each cell click of Pivot

1 Answer 99 Views
This is a migrated thread and some comments may be shown as answers.
Mohan
Top achievements
Rank 1
Mohan asked on 17 Dec 2018, 10:04 AM

Hello Team,

Is it possible to execute a method, when user clicks on any amount cell of pivot. Refer screen shot for more.

Thanks,

Mohan Pal

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 19 Dec 2018, 07:17 AM
Hello Mohan,

The Kendo UI PivotGrid provides a cellInfoByElement() method that returns the related information about a specific data cell element. It returns the column tuple, the row tuple, measure and the dataItem itself:
pivotgrid.wrapper.on("mouseenter", ".k-grid-content td", function(e){
  var info = pivotgrid.cellInfoByElement(e.currentTarget);
 
  console.log(info);
});

Regards,
Dimitar
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Mohan
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or