PivotGridTextsBuilder.DataNotAvailable(String) Method
Specifies text displayed in a cell when its data is unavailable for some reason. Mirrors the client-side dataNotAvailable option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PivotGridTextsBuilder DataNotAvailable(
string value
)
Parameters
Name | Type | Description |
---|---|---|
value | String | The option value. |
Returns
Type | Description |
---|---|
PivotGridTextsBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().PivotGrid()
.Texts(texts => texts
.DataNotAvailable("Custom text")
)
)
See Also