Ticket T1087267
Visible to All Users

Tileview Kanban Board Groups

created 3 years ago

Hi

I'm developing a Kanban board in Winforms and have come across two issues I cannot find a solution for:

Firstly, is it possible to change the back color of a group at run time. I'm trying to set each group with a different back color.

Secondly, If I create my groups manually I can't seem to get the Tile View to pick up the tile data from the GridControl.DataSource. It works fine if the groups are created automatically from the data.

Any advice welcome.

Answers approved by DevExpress Support

created 3 years ago

Hello John,

is it possible to change the back color of a group at run time. I'm trying to set each group with a different back color.

To achieve your goal, you need to enable the TileView.OptionsKanban.ShowGroupBackground option and use the TileView.Appearance.Group and KanbanGroup.Appearance properties to set a custom background color and group text color. Refer to this help topic to learn more: Group Appearance Settings.

If I create my groups manually I can't seem to get the Tile View to pick up the tile data from the GridControl.DataSource. It works fine if the groups are created automatically from the data.

When you create groups, you need to specify group values with the KanbanGroup.GroupValue property. These group values correspond to the group column (TileView.Columns.GroupColumn). Thus, the issue may occur if records in your data source do not have values of the group field corresponding to any created group. See this documentation article for details: Manual Groups.
If this still does not help, please send me a small compilable example to illustrate the problematic behavior. This will help me find a more specific solution for you much faster.

Should you have additional questions, please let me know. I will be happy to follow up.

    Comments (2)

      Thanks Vladislav. I will test it with your recommendations.

      Regards

      John

      DevExpress Support Team 3 years ago

        You are welcome, John.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.