Datagrid with fixed width columns
I created a dynamic calendar using a datagrid with a width of 700px with each of the seven days set to 100px. I thought this would keep days in a fixed width column, but that was not the case.
I had to add the following to my code and then the columns stayed fixed:
dgrCalendar.Style.Add("table-layout", "fixed")
Trackback URI |