grid in grid. "Can't move focus to the control because it's invisible not enabled or of a type that does not accept focus
Hello,
I am trying to implement grid in grid. I use one of the examples in forum.
I may have different innergrid for different rows. So I decide to create a AW.UI.Grid in all of the myData[row].innergrid object. Below is the code for displaying it.
When I expand the row, everything seems ok. but sometimes I lose the focus, and get the Error:
Can't move focus to the control because it's invisible not enabled or of a type that does not accept focus.
Then it is not possible to catch events like onCellTextChanged() in the innergrid..
Can anybody suggest a solution for that.. If I can solve that it will be a nice example for grid in grid. So please share your opinions, because I stuck up here.
I am trying to implement grid in grid. I use one of the examples in forum.
I may have different innergrid for different rows. So I decide to create a AW.UI.Grid in all of the myData[row].innergrid object. Below is the code for displaying it.
gridobj.getRowTemplate(row).setContent('whatdoesthisdo', '<div style="position: absolute; left: 70; top: 20; width: 400; z-index: 1000000">'+myData[row].innergrid+'</div>');
When I expand the row, everything seems ok. but sometimes I lose the focus, and get the Error:
Can't move focus to the control because it's invisible not enabled or of a type that does not accept focus.
Then it is not possible to catch events like onCellTextChanged() in the innergrid..
Can anybody suggest a solution for that.. If I can solve that it will be a nice example for grid in grid. So please share your opinions, because I stuck up here.
Ozgur
April 17,