Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttTasksBuilder Members

In This Article
Provides methods that allow you to configure nested options of the client-side tasks object.

#Constructors

Name Description
GanttTasksBuilder(OptionsOwnerContext) For internal use only. Initializes a new GanttTasksBuilder class instance.

#Methods
Show Inherited Hide Inherited

Name Description
ColorExpr(JS) Specifies the data field that provides tasks' color. Mirrors the client-side colorExpr option.
ColorExpr(String) Specifies the data field that provides tasks' color. Mirrors the client-side colorExpr option.
DataSource(JS) Binds the UI component to the data source which contains tasks. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds Gantt tasks to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds Gantt tasks to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds Gantt tasks to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
EndExpr(JS) Specifies the data field that provides tasks' end dates. Mirrors the client-side endExpr option.
EndExpr(String) Specifies the data field that provides tasks' end dates. Mirrors the client-side endExpr option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
KeyExpr(JS) Specifies the data field that provides keys for tasks. Mirrors the client-side keyExpr option.
KeyExpr(String) Specifies the data field that provides keys for tasks. Mirrors the client-side keyExpr option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ParentIdExpr(JS) Specifies the data field that provides tasks' parent IDs. Mirrors the client-side parentIdExpr option.
ParentIdExpr(String) Specifies the data field that provides tasks' parent IDs. Mirrors the client-side parentIdExpr option.
ProgressExpr(JS) Specifies the data field that provides tasks' progress. Mirrors the client-side progressExpr option.
ProgressExpr(String) Specifies the data field that provides tasks' progress. Mirrors the client-side progressExpr option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
StartExpr(JS) Specifies the data field that provides tasks' start dates. Mirrors the client-side startExpr option.
StartExpr(String) Specifies the data field that provides tasks' start dates. Mirrors the client-side startExpr option.
TitleExpr(JS) Specifies the data field that provides task titles. Mirrors the client-side titleExpr option.
TitleExpr(String) Specifies the data field that provides task titles. Mirrors the client-side titleExpr option.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also