1

I’m currently using DHTMLX - Scheduler .NET in ASP.NET MVC.

How to set width of event cell in TimelineView?

I see that property column_width in Client side works fine, But Server side is not available this props.

Note: Default width of this is 100px (I enabled horizontal scroll)

Now, I wanna set from 100px to 50px.

Does anyone have any idea for this issue ?

I really appreciate your help.

enter image description here

Nguyễn Văn Phong
  • 11,572
  • 15
  • 21
  • 43

1 Answers1

3

This property was missing and was added only starting from v4.0.2 of the nuget package https://www.nuget.org/packages/DHTMLX.Scheduler.NET/4.0.2 (published after your question)

So if you update the library to the latest version, you should be able to use TimelineView.ColumnWidth property on the server:

var timeline = new TimelineView("timeline", "section_id");
timeline.ColumnWidth = 90;
Alex Klimenkov
  • 876
  • 1
  • 5
  • 8