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

Insert a dropdown in datagrid

Asked by Anonymous
10 years ago.

Can a dropdown control be inserted in to the daypilot datagrid, for example, I like to be able to select "Approve" or "not approved" at a row header in a timesheet application.
Thanks

Answer posted by Dan Letecky [DayPilot]
10 years ago.

It is difficult to insert full-blown ASP.NET controls in the headers.

However, there are two options:

1. Use the custom HTML (using BeforeResHeaderRender event handler) to insert HTML-based dropdown.
2. Use an active area in combination with a context menu to provide the functionality.

http://doc.daypilot.org/scheduler/row-header-active-areas/

Demo:
http://www.daypilot.org/demo/Scheduler/ActiveAreas.aspx

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