开发者

Settings in ASPxGridView Skins

Can you set settings in ASPxGridView skins?

For example:

<Settings ShowHeaderFilterBl开发者_C百科ankItems="false" ShowFilterBar="Visible" ShowFilterRow="True" />

This would be very helpfull because all the grids that are using this style would have filter bar and filter row enabled by default.

If it is not possible, could you please explain me why?


Yes, it is possible to specify the ASPxGridView's properties (for all ASPxGridView instances in the corresponding theme) within the skin file:

<%@ Register TagPrefix="dx" Namespace="DevExpress.Data" Assembly="DevExpress.Data.vX.Y, Version=X.Y.Z.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" %>
<%@ Register TagPrefix="dx" Namespace="DevExpress.Web.ASPxGridView" Assembly="DevExpress.Web.ASPxGridView.vX.Y, Version=X.Y.Z.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" %> 
<dx:ASPxGridView runat="server">
    <Settings ShowHeaderFilterButton="true" ShowHeaderFilterBlankItems="false" ShowFilterBar="Visible" ShowFilterRow="True" />
</dx:ASPxGridView>

However, the skin file is intended more for specifying a visual appearance (styles, images, etc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜