Sorry for my imperfect English, first :-)
I have a problem with ListGrid - I registered 2 handlers on my grid: SelectionChangedHandler and DoubleClickHandler. In the first handler I call fetch operation on other grid (something like master-detail, but I use fetch method not fetchRelatedData) and in the second handler (double click) I switch view to edit canvas. When I firstly click on the row in grid, and next I make a double-click on this row, it works correctly, but when one row is selected and I execute double click on the other row then only SelectionChangedHandler on new-selected row is firing. DoubleClickHandler does not execute. I was expecting firstly selected row will change, detail-grid will display new data, and next view will switch to edit canvas for new selected row. But when I comment executing fetch method on second grid from SelectionChangedHandler, both handlers execute. It looks like fetch causes cancel on firing next handlers. But why, since fetch is calling on other grid (detail) What is wrong ? It is an error in ListGrid component or I make some wrong ?
Thanks in advance for help.
Regards
Martin
I have a problem with ListGrid - I registered 2 handlers on my grid: SelectionChangedHandler and DoubleClickHandler. In the first handler I call fetch operation on other grid (something like master-detail, but I use fetch method not fetchRelatedData) and in the second handler (double click) I switch view to edit canvas. When I firstly click on the row in grid, and next I make a double-click on this row, it works correctly, but when one row is selected and I execute double click on the other row then only SelectionChangedHandler on new-selected row is firing. DoubleClickHandler does not execute. I was expecting firstly selected row will change, detail-grid will display new data, and next view will switch to edit canvas for new selected row. But when I comment executing fetch method on second grid from SelectionChangedHandler, both handlers execute. It looks like fetch causes cancel on firing next handlers. But why, since fetch is calling on other grid (detail) What is wrong ? It is an error in ListGrid component or I make some wrong ?
Thanks in advance for help.
Regards
Martin