CardViewBuilder<T>.OnInitNewCard(String) Method
A function that is executed before a new card is added to the UI component. Mirrors the client-side onInitNewCard option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public CardViewBuilder<T> OnInitNewCard(
string jsFunc
)
Parameters
| Name | Type | Description |
|---|---|---|
| jsFunc | String | An inline or external JavaScript function. |
Returns
| Type | Description |
|---|---|
| CardViewBuilder<T> | A reference to this instance after the method is called. |
See Also