Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Row expanded view fails after using keyboard navigation.
posted

I'm having a problem with the Infragistics 2008 UltraWinGrid that I'm hoping someone can help me with.  I have a data source that has several rows each of which can have several child rows.  When the data is loaded only the first level of rows are present.  When a user clicks on the expand button a web service call is made which updates the data source to include the child rows of the expanded row.  Here is the problem I am having:

Take the given table which has CellClickAction set to RowSelect:

- Parent Row 1
     Child Row a
     Child Row b
     Child Row c
+ Parent Row 2
+ Parent Row 3

The first parent row has been expanded and the data for the 3 child rows have been read in from a web service.  The second and third parent rows have not been expanded so they don't currently have any child rows, however if a user expands them they will each have 3 child rows read in from the web service.

Steps to reproduce:
1.)  Select Parent Row 1 with the mouse.
2.)  Hit the right arrow on the keyboard to move the selection to Child Row a.
3.)  Hit the down arrow on the keyboard twice to move the selection to Child Row c.
4.)  Hit the down arrow again and note that nothing happens since Parent Row 2 and Parent Row 3 has not loaded their children yet.
5.)  Click on the expand button next to Parent Row 2 and note that the expand button disapears and the row doesn't expand.
6.)  Select Parent Row 2 with the mouse and note that the row will now expand.

The row should expand as soon as the expand button is clicked, however it doesn't expand until I select the row itself.

The data source is a custom class that implements ITypedList.  Before a row is expanded the custom class is notified and it will read in the needed data and then call the Refresh method of the CurrencyManager for the grid.

Any help on this issue would be appreciated.  Thanks.

 

 

 

GridExample.zip
Parents Reply Children