Flexmonster MCP Server is here! Connect your ✨AI assistant to our documentation. Get started
+

OnCellClick - Filter Vs empty Cell

Answered
Anirban 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
Anirban Sengupta ⋅ April 8, 2021

Great! it works, many thanks

Please sign in or register to submit your answer