GanttResourcesBuilder Methods
Provides methods that allow you to configure nested options of the client-side resources object.| Name | Description |
|---|---|
| ColorExpr(JS) | Specifies the data field that provides resources' color. Mirrors the client-side colorExpr option. |
| ColorExpr(String) | Specifies the data field that provides resources' color. Mirrors the client-side colorExpr option. |
| DataSource(JS) | Binds the UI component to the data source, which contains resources. Mirrors the client-side dataSource option. |
| DataSource(IEnumerable, String[]) |
Binds Gantt resources to a collection: Array, List, or IEnumerable.
|
| DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) | Binds Gantt resources 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 resources to read-only data in JSON format. |
| DataSourceOptions(Action<DataSourceOptionsBuilder>) | Provides access to methods that mirror client-side data source options. |
| 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 resources. Mirrors the client-side keyExpr option. |
| KeyExpr(String) | Specifies the data field that provides keys for resources. 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. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| TextExpr(JS) | Specifies the data field that provides resource texts. Mirrors the client-side textExpr option. |
| TextExpr(String) | Specifies the data field that provides resource texts. Mirrors the client-side textExpr option. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also