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

change cellWidth on the fly

Asked by vassilis
5 years 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]
5 years 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
5 years ago.

i see, thank you for your fast response.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.