Home Forums WinForms controls Xceed Grid for WinForms InitializingDetailGrid Handler called twice

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

    I’m using grid 2.5 for displaying unbound data (i.e. an object data model) in c#.

    My top-level data object has two collections in it, for which I want two hierarchical grids to be displayed. I create my columns, add my two detail grids, with their columns, etc. I add my delegate handler for the InitializingDetailGridHandler event (I have one generic handler that checks the detail grid’s title Property to know which one is being filled) and it gets called twice for each detail grid (for a total of 4 invocations).

    So all of my row data on the detail grids shows up twice.

    Why is this?

    Imported from legacy forums. Posted by dviljoen (had 1939 views)

    User (Old forums)
    Member
    Post count: 23064

    We might be missing some elements to answer your question. It would seem like you might be subscribing twice to the same event. Can you give us more details or a piece of code that might help us understand what you are doing.

    Imported from legacy forums. Posted by Matt (had 2832 views)

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