PivotGridTextsBuilder.CollapseAll(String) Method
The string to display as a Collapse All context menu item. Mirrors the client-side collapseAll option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PivotGridTextsBuilder CollapseAll(
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
.CollapseAll("Custom text")
)
)
See Also