Home Forums WPF controls Xceed DataGrid for WPF runtime grouping bug?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #22140 |

    After installing the latest release it appears that runtime grouping does not work properly. The wrong rows appear to be grouped together. Is this a known problem? Is there a property I need to set or a way to configure the underlying xml data to make this work properly? I recall testing it before upgrading and it appeared to work then with the same code. Thanks.

    Marty

    Imported from legacy forums. Posted by Marty (had 6967 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Marty,

    Can you provide us with a little more context?

    What would be useful is:

    – a sample XML data where the problem occurs,
    – the code that instantiate the DataGridControl,
    – any CellContentTemplate or CellEditor code you are using.

    Thanks

    Imported from legacy forums. Posted by Marcus [Xceed] (had 399 views)

    User (Old forums)
    Member
    Post count: 23064

    <b>Here is the sample XML data:</b>

    <EntGridRowData xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema”&gt;
    <Row>
    <account_contact.last_name>Ashton</account_contact.last_name>
    <account_contact.first_name>Nathalie</account_contact.first_name>
    <account.name>Western Atlantic Corporate</account.name>
    <account_contact.type>Primary User</account_contact.type>
    <account_contact.phone>+1-508-3945022</account_contact.phone>
    <account_contact.ext>77</account_contact.ext>
    <account_contact.fax>
    </account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>7</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Bengston</account_contact.last_name>
    <account_contact.first_name>Sophie</account_contact.first_name>
    <account.name>ITIL Consult Services</account.name>
    <account_contact.type>Primary User</account_contact.type>
    <account_contact.phone>+1-617-806420</account_contact.phone>
    <account_contact.ext>32</account_contact.ext>
    <account_contact.fax>+1-617-806420-20</account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>6</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Brown</account_contact.last_name>
    <account_contact.first_name>Herbert</account_contact.first_name>
    <account.name>Bank of Mideast Pacific</account.name>
    <account_contact.type>Secondary User</account_contact.type>
    <account_contact.phone>+1-307-4789395</account_contact.phone>
    <account_contact.ext>11</account_contact.ext>
    <account_contact.fax>
    </account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>10</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Douglas</account_contact.last_name>
    <account_contact.first_name>Gregory</account_contact.first_name>
    <account.name>Western Atlantic Corporate</account.name>
    <account_contact.type>Decision Maker</account_contact.type>
    <account_contact.phone>+1-508-3945022</account_contact.phone>
    <account_contact.ext>55</account_contact.ext>
    <account_contact.fax>
    </account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>8</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Friedberg</account_contact.last_name>
    <account_contact.first_name>Michael</account_contact.first_name>
    <account.name>IET Solutions</account.name>
    <account_contact.type>Primary User</account_contact.type>
    <account_contact.phone>+1-508-4169010</account_contact.phone>
    <account_contact.ext>70</account_contact.ext>
    <account_contact.fax>
    </account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>2</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Goldbaum</account_contact.last_name>
    <account_contact.first_name>Roland</account_contact.first_name>
    <account.name>ITIL Consult Services</account.name>
    <account_contact.type>Decision Maker</account_contact.type>
    <account_contact.phone>+49-8512-7754</account_contact.phone>
    <account_contact.ext>20</account_contact.ext>
    <account_contact.fax>+49-8512-7754-10</account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>5</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Green</account_contact.last_name>
    <account_contact.first_name>Chandler</account_contact.first_name>
    <account.name>Bank of Mideast Pacific</account.name>
    <account_contact.type>Decision Maker</account_contact.type>
    <account_contact.phone>+1-307-4789395</account_contact.phone>
    <account_contact.ext>14</account_contact.ext>
    <account_contact.fax>+1-307-4789395-10</account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>9</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Hannigan</account_contact.last_name>
    <account_contact.first_name>Liz</account_contact.first_name>
    <account.name>Blue Field Research</account.name>
    <account_contact.type>Primary User</account_contact.type>
    <account_contact.phone>+1-908-3339010</account_contact.phone>
    <account_contact.ext>85</account_contact.ext>
    <account_contact.fax>+1-908-3339010-10</account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>
    <account_contact.account_contact_id>14</account_contact.account_contact_id>
    </Row>
    <Row>
    <account_contact.last_name>Higgins</account_contact.last_name>
    <account_contact.first_name>Thomas</account_contact.first_name>
    <account.name>Blue Field Research</account.name>
    <account_contact.type>Decision Maker</account_contact.type>
    <account_contact.phone>+1-908-3339010</account_contact.phone>
    <account_contact.ext>88</account_contact.ext>
    <account_contact.fax>+1-908-3339010-10</account_contact.fax>
    <account_contact.pager>
    </account_contact.pager>

    Imported from legacy forums. Posted by Marty (had 488 views)

    Xceed Support
    Member
    Post count: 5658

    This should be enough to enable us to repro the problem, thanks…

    No problem for the delays, but we have a lot on our tables at the moment, so I cannot give you a precise indication of when we’ll be able to look at this.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 258 views)

    User (Old forums)
    Member
    Post count: 23064

    Now that I am looking more closely, I notice that sorting is not entirely working either. It works on some columns but not others. I saw in another post that sorting and grouping might be affected by not having the FieldName property set, but I did set it. So far I did not set column datatypes but I’ll try that.

    Imported from legacy forums. Posted by Marty (had 1041 views)

    User (Old forums)
    Member
    Post count: 23064

    I have a zip file with a simple example showing the bug with both sorting and grouping. Can I send it to you or otherwise post it here? Thanks….Marty.

    Imported from legacy forums. Posted by Marty (had 573 views)

    Xceed Support
    Member
    Post count: 5658

    You can send your zip file with the repro program to support@xceedsoft.com with “for Marcus” in the title… I will attach the file to the bug report for your problem…

    Thank you for creating the simple example, it will probably greatly reduce time needed to investigate.

    Be assured that we did not forget about this issue. Its just that, as I said, we have a lot on our tables at the moment.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 384 views)

    User (Old forums)
    Member
    Post count: 23064

    OK thanks. I had sent it already but without adding ‘for Marcus.’

    I also put another even simpler example here:

    http://forums.xceed.com/forums/ShowPost.aspx?PostID=6418

    This one uses static binding instead of the dynamic binding in the example I sent via email.

    I am starting to think that maybe I have an old dll running around somewhere.

    Imported from legacy forums. Posted by Marty (had 509 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Marty,

    We’ve been able to reproduce and we will investigate the problem soon.

    Thanks for bringing this to our attention!

    Imported from legacy forums. Posted by Pascal (had 436 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Marty,

    After checking your test program, I have been able to determine that this relates to an already known bug.

    The good news is that the bug in question has now been fixed.

    The fix has already been implemented and the main download package will be updated soon.

    Meanwhile you can download it using this link:

    http://download3.xceedsoft.com/Packages/3.0.7170.16360/XceedComponentsWebInstall.exe

    Imported from legacy forums. Posted by Marcus [Xceed] (had 337 views)

    User (Old forums)
    Member
    Post count: 23064

    It is fixed!
    You guys are doing a great job.
    Thanks very much.

    Marty

    Imported from legacy forums. Posted by Marty (had 7998 views)

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.