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

change cellWidth on the fly

Asked by vassilis
2 months ago.

Using lincenced Pro version of daypilot scheduler (8.3.3601), for asp.net, i' trying to change the cellWidth on the fly from javascript, not server-side. Looked into this example:

https://javascript.daypilot.org/sandbox/scheduler/cellwidth.html

however this doesnt seem to work. my code is:

function zoom() {

dps.cellWidth = 200;
dps.update();
}

on a button click that does not postback. However nothing happens. the scheduler does not seem to change at all. Are there any other settings that are affecting this?

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Unfortunately, the ASP.NET version doesn't support client-side changes. It's bound to the server-side backend and it's necessary to invoke a callback (e.g. using commandCallBack() method) to request an update from the server side.

Comment posted by vassilis
2 months ago.

i see, thank you for your fast response.

New Reply
This reply is
Your name (optional):