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

fm-pivot (cellclick) event

Answered
Ravi Kumar asked on September 4, 2020

Hi,
I’m trying for cell click event using fm-pivot element, instead creating new flexmonster object and setting to a DIV element (fm-pivot-element.PNG), event “beforetoolbarcreated” is getting called and customized toolbar but “cellclick” event is not getting called.
I seen the document for cellclick event (https://www.flexmonster.com/api/cellclick/), but i need to hit it from HTML side.
Please suggest any solution.
 
Regards,
Ravi Kumar

Attachments:
fm-pivot-element.PNG

4 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 7, 2020

Hello,
 
Thank you for reaching out to us.
 
We want to confirm that it is possible to bind the function on the cellclick event while creating an instance of Flexmonster.
 
However, our team did not manage to reproduce the described problem. The bound function is called every time the cell is clicked on the grid as expected.
Therefore, we ask you to provide us with an example where the issue could be observed.
 
Our team is looking forward to hearing from you.
 
Best regards,
Illia

Public
Ravi Kumar September 30, 2020

Hi Illia,
When user clicks on any cell, we need to check few conditions on that cell row and it’s value and need to add a HyperLink and redirect to that respective link.
Please provide any solution.
 
Regards,
Ravi Kumar

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 1, 2020

Hello,
 
Thank you for reaching out to us.
 
Our team wants to inform you that both cellclick and celldoubleclick events pass the Cell Data Object of the clicked cell to the handler. This object contains information about the cell, including its value and type. Based on this information, appropriate action can be performed after the click.
 
We hope it helps.
Please contact us in case further questions arise.
 
Regards,
Illia

Public
Ravi Kumar October 1, 2020

Hi Illia,
 
Thank you for the response.
It is working applying those 2 events.
 
Regards,
Ravi Kumar

Please login or Register to Submit Answer