search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Right click on frozen rows not working

Asked by Anton
9 hours ago.

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;
	}
No reply yet.
New Reply
This reply is
Attachments:
or drop files here
Your name (optional):