Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

OnCellClick – Filter Vs empty Cell

Answered
Sengupta asked on April 7, 2021

Version 2.8.27
How can I distinguish between a click on the FILTER cell & click on an EMPTY cell?

Please see attached file for clarification
 

Attachments:
Clicks.PNG

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 8, 2021

Hello,
 
Thank you for your question.
 
We want to explain that the handler of cellclick event accepts Cell Data Object as an argument. This object contains detailed information about the cell and can be used to distinguish different cell types.
Please see the following JSFiddle we have prepared to demonstrate this functionality: https://jsfiddle.net/flexmonster/tzmka2y7/. It shows the alert with a cell type every time the cellclick event is triggered.
 
Please let us know if it works for you.
 
Regards,
Illia

Public
Sengupta April 8, 2021

Great! it works, many thanks

Please login or Register to Submit Answer