Back to Devexpress

BootstrapGridViewSettings Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-a17e91be.md

latest4.6 KB
Original Source

BootstrapGridViewSettings Class

Provides view options for the BootstrapGridView control.

Namespace : DevExpress.Web.Bootstrap

Assembly : DevExpress.Web.Bootstrap.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

csharp
public class BootstrapGridViewSettings :
    ASPxGridViewSettings
vb
Public Class BootstrapGridViewSettings
    Inherits ASPxGridViewSettings

The following members return BootstrapGridViewSettings objects:

Example

The example demonstrates the basic functionality of the Grid View control.

The image below shows the result:

aspx
<dx:BootstrapGridView ID="GridViewServerMode" runat="server" DataSourceID="EntityServerModeDataSource" KeyFieldName="ID" AutoGenerateColumns="False"
    OnCustomColumnDisplayText="GridViewServerMode_CustomColumnDisplayText" OnSummaryDisplayText="GridViewServerMode_SummaryDisplayText">
    <Columns>
        <dx:BootstrapGridViewTextColumn FieldName="From" />
        <dx:BootstrapGridViewTextColumn FieldName="Subject" />
        <dx:BootstrapGridViewDateColumn FieldName="Sent" Width="220px" />
        <dx:BootstrapGridViewCheckColumn Caption="Has Attachments" FieldName="HasAttachment" Width="150px" />
        <dx:BootstrapGridViewTextColumn FieldName="Size">
            <Settings AllowAutoFilter="False" />
        </dx:BootstrapGridViewTextColumn>
    </Columns>
    <TotalSummary>
        <dx:ASPxSummaryItem FieldName="Size" SummaryType="Sum" />
    </TotalSummary>
    <GroupSummary>
        <dx:ASPxSummaryItem SummaryType="Count" />
    </GroupSummary>
    <Settings ShowGroupPanel="True" ShowFooter="True" ShowFilterRow="true" ShowFilterRowMenu="true"/>
</dx:BootstrapGridView>
<dx:EntityServerModeDataSource ID="EntityServerModeDataSource" runat="server"

Inheritance

Object StateManager PropertiesBase ASPxGridSettingsBase ASPxGridSettings ASPxGridViewSettings BootstrapGridViewSettings

See Also

BootstrapGridViewSettings Members

DevExpress.Web.Bootstrap Namespace