Bug Report T709033
Visible to All Users

DataGrid - The grid's layout is broken after adding columns and group summaries dynamically

created 6 years ago

We have found an issue when using the group totals together with the dynamic column list modification.

We let out users show group totals on demand, its turned on dynamically by js
We also let them modify the list of the columns dynamically

None of the two operation is very sophisticated or cause issues.

At the same time when the two are used at the same time, the layout gets broken .

To reproduce the issue, please use the following code pen:
https://codepen.io/mikus/pen/yZLjqq

Start with adding the columns (1. add column) -> see that the columns have been added to the end of the grid
Now press the '2. show group totals' button -> the group headings have been added, but the column bands have been lost and the general layout gets messy (depending on the configuration).

if you perform any of the two actions separately, you;ll see that they both work.
Could you please let us know what causes the conflict? Is there any workaround?

Regards

Comments (2)
DevExpress Support Team 6 years ago

    Hello,

    I was able to reproduce the problem and need additional time to research it. I will get back to you as soon as I have any results.

      seems to work indeed, thanks!

      Answers approved by DevExpress Support

      created 6 years ago (modified 6 years ago)

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        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.