I would like to show ‘create new appointment’ dialog by clicking a grids context menu option.
$("#Menu").on('itemclick', function (event) {
var args = event.args;
var rowindex = grid.jqxGrid('getselectedrowindex');
if ($.trim($(args).text()) == "Add to plan board") {
editrow = rowindex;
$("#SchedulePersons").jqxScheduler('openDialog');
}
});
Now I’m looking for a way to fill the dialogs fields (with values from the selected grid row).