Hello,
while anaIyzing the debug code I found 2 method calls (_isRowDisabled), where the second parameter (grid) is not set.
So, the right click on frozen rows is not working.
(DayPilot Pro for JavaScript 2025.2.6484)
Can you please correct this?
before:
this._onMaindClick = function(ev) {
...
if (calendar._isRowDisabled(calendar._getRow(calendar.coords.y).i)) {
return;
}
this._onMaindRightMouseUp = function(ev) {
...
var row = calendar._getRow(calendar.coords.y, calendar.coords.grid);
if (calendar._isRowDisabled(row.i)) {
DayPilotScheduler._range = null;
return;
}
after (works for me):
this._onMaindClick = function(ev) {
...
if (calendar._isRowDisabled(calendar._getRow(calendar.coords.y).i, calendar.coords.grid)) {
return;
}
this._onMaindRightMouseUp = function(ev) {
...
var row = calendar._getRow(calendar.coords.y, calendar.coords.grid);
if (calendar._isRowDisabled(row.i, row.grid)) {
DayPilotScheduler._range = null;
return;
}