bruno65 Posted February 2 Share Posted February 2 In a program, the columns of a UniDBGrid are dynamically created and for some of them editor like Edit or NumberEdit are attached. I notice that when we click in a editable cell the attached editor is in the DOM but when click outside this editor is no longer in the DOM : i guess it is destroyed. Can you confirm this ? After a while of manipulation of the grid on the screen the error "Cannot read properties of null" appears when clicking again in a cell because its editor is not in the DOM yet. Is it possible to change the default behavior about the attached editor ? i means not destroy it but only hide it ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 2 Share Posted February 2 Could you please make a simple testcase? Quote Link to comment Share on other sites More sharing options...
bruno65 Posted February 2 Author Share Posted February 2 an attached full project with an easier test-case : run the project clicking on the header column menu, check and uncheck "Tri" and "Filtre" several times... then after a while i got : How can i fix this issue ? testIUMGridSort.zip Quote Link to comment Share on other sites More sharing options...
bruno65 Posted February 6 Author Share Posted February 6 with the attached source code do you have any idea of the cause of this bug ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 26 Share Posted February 26 On 2/6/2024 at 6:17 PM, bruno65 said: with the attached source code do you have any idea of the cause of this bug ? Hello, Sorry for the late response. Do you have any problems with the standard grid? It seems you are using a custom grid? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.