cardview + filter = disappearing column headers

Answered (Verified) This post has 1 verified answer | 4 Replies | 2 Followers Thread's RSS feed.

Arthur
Points 1,165
Replied On: Thu, May 10 2012 5:29 AM Reply

I have a card view + rowlayout.

1. User edits column filter conditions (eg enters custom filter)

2. Filter conditions have error and as a result no rows will be shown

3. No rows are shown (ok), column headers/labels disappear (nok - user is unable to correct filter conditions).

How can I control if column headers are visible after filtering that will return no results?

  • Post Points: 20

Verified Answer

Answered (Verified) Replied On: Mon, May 14 2012 5:56 AM Reply
Verified by Arthur

Hello,

Could you please try setting the 'ViewStyle' to MultiBand, like this:

       this.m_gridVariantSummary.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.MultiBand;

Please do not hesitate to contact me if you need any additional assistance.

 


Best regards,

Boris

Developer Support Supervisor, MCPD
Infragistics, Inc.

How to get answers =>

  • Post Points: 40

All Replies

Replied On: Thu, May 10 2012 7:15 AM Reply

Hello,

I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.


Best regards,

Boris

Developer Support Supervisor, MCPD
Infragistics, Inc.

How to get answers =>

  • Post Points: 20
Arthur
Points 1,165
Replied On: Fri, May 11 2012 9:21 AM Reply

Sample attached.

Steps to reproduce:

1. start an application

2. click on "Custom" filter on project name column

3. Set project name / equals / "four"

4. All rows and column headers dissapear.

Expected behaviour (how?) - column headers are still visible so that user could correct his filter.

 

p.s. Icon should be smaller in filter editor:

 

  • Post Points: 20
Answered (Verified) Replied On: Mon, May 14 2012 5:56 AM Reply
Verified by Arthur

Hello,

Could you please try setting the 'ViewStyle' to MultiBand, like this:

       this.m_gridVariantSummary.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.MultiBand;

Please do not hesitate to contact me if you need any additional assistance.

 


Best regards,

Boris

Developer Support Supervisor, MCPD
Infragistics, Inc.

How to get answers =>

  • Post Points: 40
Arthur
Points 1,165
Replied On: Mon, May 14 2012 6:40 AM Reply

Lol, that worked. Thanks for help!

  • Post Points: 5
Page 1 of 1 (5 items) | RSS