FileManagerDetailsColumnBuilder.Visible(JS) Method
Specifies the column visibility. Mirrors the client-side visible option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileManagerDetailsColumnBuilder Visible(
JS value
)
Parameters
Name | Type | Description |
---|---|---|
value | JS | A JavaScript expression that specifies the option value. |
Returns
Type | Description |
---|---|
FileManagerDetailsColumnBuilder | A reference to this instance after the method is called. |
Remarks
<script>
var myValue = ...;
</script>
@(Html.DevExtreme().FileManager()
.ItemView(view => view
.Mode(FileManagerItemViewMode.Details)
.Details(details => {
details.Columns(columns => {
columns.Add().DataField("name").Visible(new JS("myValue"));
//...
)}
}
)
)
See Also