ChatBuilder.DataSource(IEnumerable, String[]) Method
Binds the UI component to data. Mirrors the client-side dataSource option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public ChatBuilder DataSource(
IEnumerable data,
params string[] key
)
Parameters
| Name | Type | Description |
|---|---|---|
| data | IEnumerable | Data to be used as a data source. |
| key | String[] | The key field names. |
Returns
| Type | Description |
|---|---|
| ChatBuilder | A reference to this instance after the method is called. |
See Also