开发者

Dev Express Aspx Gridview Multi-row filter control

开发者 https://www.devze.com 2023-04-06 20:53 出处:网络
I am utilizing the Devexpress aspxGridview control throughout my asp.net web forms application.Many of the databases that I would like to be able to visual and filter using these controls have a large

I am utilizing the Devexpress aspxGridview control throughout my asp.net web forms application. Many of the databases that I would like to be able to visual and filter using these controls have a large number of fields in them. Here is an example below (although this is not the largest field set)

Dev Express Aspx Gridview Multi-row filter control

Does the control provide a way to separate these fields into multiple rows and use a preview field instead of individual columns. For examp开发者_开发知识库le something that might look like this.

Dev Express Aspx Gridview Multi-row filter control

Or Even completely horizontal like this.

Dev Express Aspx Gridview Multi-row filter control

I realize this can probably be accomplished fairly successfully using css but based on the markup created by the control it looks like it might be a fairly time consuming task.


There is no proper way to force breaking the ASPxGridView's Header between multiple lines. It is possible to specify the required layout using the use grid's templates (the http://documentation.devexpress.com/#AspNet/CustomDocument3678, for instance, for keeping header functionality).

However, in this case, it is necessary to implement custom filter editors and force grid filtering programmatically. The built-in columns' headers functionality will be lost.

Probably it would be better to use the external filter for the ASPxGridView:

Filter Control - External Filter for GridView

http://demos.devexpress.com/ASPxEditorsDemos/ASPxFilterControl/FilterBuilder.aspx

0

精彩评论

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