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

Trigger events from HTML

Answered
Ravi Kumar asked on September 30, 2020

Hi,
I’m trying to trigger available flexmonster events from HTML, but only “beforetoolbarcreated” is getting triggered not other events.
Please find the below code.
<fm-pivot #flexMonsterGrid [licenseKey]=”flexMonsterKeyValue” [report]=”fmDataReport” id=”fmGrid”

                [toolbar]=”true” style=”border:1px solid;” (beforetoolbarcreated)=”fmBeforeToolbarCreated()”
                (cellclick)=”fmCellClick()” (celldoubleclick)=”fmCellDoubleClick()”
                (fieldslistopen)=”fmFieldsListOpen()” (fieldslistclose)=”fmFieldsListClose
 </fm-pivot>

 
Events cellclick, celldoubleclick, fieldslistopen, fieldslistclose and remaining events are not getting triggered.

Provide any solutions to trigger those events.
 
 
Regards,
Ravi Kumar

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 1, 2020

Hello,
 
Thank you for reaching out to us.
 
We want to inform you that we did not manage to reproduce the problem.
Our team has prepared a sample that demonstrates using the mentioned events. Alert with an event’s name will appear every time the event is triggered. The sample project itself can be found in attachments.
Run the following commands to install all the required dependencies and launch the project:

npm install
ng serve

 
Please let us know if it helps.
You are welcome to contact us in case other questions arise.
 
Regards,
Illia

Attachments:
pivot-angular.zip

Please login or Register to Submit Answer