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

Set a width of Specific Column and its data

Asked by Daniel Kim
4 years ago.

Hi, I have been looking for a way to figure out how to set a specific width of specific column
Right now, this scheduler automatically calculates the width of the cell based on the content when i call DataBind(). But I want to set a certain column to have certain width(not the size of entire content) to set that column to be small. Is there a way to implement this feature? Thank you for your help!

Comment posted by Dan Letecky [DayPilot]
4 years ago.

Do you need to set the column width in the Calendar or in the Scheduler control?

Answer posted by Daniel Kim
4 years ago.

Actually, I figured it out with using

RowHeaderWidthAutoFit = "false" on ASP.NET

and then
scheduluer.HeaderColumns.Add(new RowHeaderColumn("NEW COLUMN", 200)) <= size of the column to be 200px

Comment posted by Dan Letecky [DayPilot]
4 years ago.

Great, thanks for the update!

Comment posted by Daniel Kim
4 years ago.

Thank you for quick updates!!

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