fullCalendar open event in modal

I’m trying to open a detail modal from the eventClick function in fullCalendar. I created a repeater table with the data I need and an onClick event for the table row which opens the modal and shows the detail of the row clicked. This works on the table.
<tr dmx-on:click="fullCalModal.show();fullCalModal.data_detail1.select(id)">

I then copied that code into the eventClick, parsed it and change the value being passed to the event_id coming from fullCalendar

  alert(event.id); //Just confirming the event_id is correct
  dmx.parse('fullCalModal.show()');
  dmx.parse('fullCalModal.data_detail1.select(event.id)');

This alerts with the correct event_id and opens the modal but doesn’t show the data. Any ideas?
Thanks.

Community Page
Last updated: