I have a grid with about 30 items. When I expand out Parent Row #1 I am firing the RowExpandedEvent and getting the child row header text from the database, however when I expand it out the header texts never change. Then when I expand out Parent Row #2 the event fires but the header text is the text that should have been in Parent Row #1. When I debug it I am getting the correct values but they are not displayed correctly in the grid. Infragstics support says it may be an issue with the grid but it takes forever to go through their development to verify this so at this point I am looking for any suggestions or work arounds as I need this thing going ASAP!
Thanks for any help you may be able to provide.
Hi wins903,
I'm a little confused as to what exactly it is you're trying to do and where. Could you maybe attach a small sample here to look at?
regards,David Young
I dont have a samply handy at the moment but let me try to explain:
Lets say I have the following grid:
Parent Row #1
Child Row #1 - Header Text is my column name of "Child"
Parent Row #2
Child Row #2 - Header Text is my column name of "Child"
Parent Row #3
Child Row #3 - Header Text is my column name of "Child"
In the example above I have 3 parent rows and 1 child row for each parent, with a single column (Child, Child, Child). What I want to do is change the header text depending on what parent row is clicked. So if I clicked Parent Row #1 I want the child header text to say "Child 1 RowExpanded", as follows:
Child Row #1 - Header Text is supposed to be "Child 1 RowExpanded"
Child Row #2 - Header Text is supposed to be "Child 2 RowExpanded"
Child Row #3 - Header Text is supposed to be "Child 3 RowExpanded"
The problem I am having is when I click on the first row Parent #1 the child text is staying as "Child" instead of displaying "Child 1 RowExpanded". Then, when I click on Parent Row #2 the child text is displaying "Child 1 RowExpanded" whereas it should display "Child 2 RowExpanded" and the same for Parent Row #3, the child header text is displaying "Child 2 RowExpanded" instead of "Child 3 RowExpanded".
Does that help at all, once I get back maybe I can put up a sample too if this doesnt make sense.
Thanks alot.