Sherzod Posted May 29, 2020 Share Posted May 29, 2020 1 minute ago, eduardosuruagy said: Do I use JS in dbgrids? Yes. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 29, 2020 Share Posted May 29, 2020 7 minutes ago, Sherzod said: Sim. Grid.ClientEvents.UniEvents.Add( 'pagingBar.beforeInit=function pagingBar.beforeInit(sender, config) {config.displayInfo = true;}'); Grid.ClientEvents.UniEvents.Add( 'store.afterCreate=function store.afterCreate(sender)'#13#10'{'#13#10''+ ' sender.setRemoteSort(false);'#13#10'}'); Grid.ClientEvents.ExtEvents.Add( 'afterrender=function afterrender(sender, eOpts)'#13#10'{'#13#10' var me = s' + 'ender;'#13#10' if (me.pagingBar) {'#13#10' me.pagingBar.getCompone' + 'nt("refresh").handler = function() {'#13#10' ajaxRequest(me' + ', '#39'_refresh'#39', [])'#13#10' }'#13#10' }'#13#10#9#13#10'}'); I have a unit where I pass the name of the dbgrid and add these options. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 29, 2020 Share Posted May 29, 2020 3 hours ago, eduardosuruagy said: I have a unit where I pass the name of the dbgrid and add these options. And what if you disable these JS codes? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted June 1, 2020 Share Posted June 1, 2020 On 29/05/2020 at 14:10, Sherzod said: E se você desativar esses códigos JS? These JS codes are passed on by you guys from support, I'm not sure if these codes are causing the error. Errors are caused randomly. Quote Link to comment Share on other sites More sharing options...
Informel Posted July 28, 2020 Share Posted July 28, 2020 Hello, I am using version 1.90.0.1531 and this error is also happening to me. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 28, 2020 Share Posted July 28, 2020 1 hour ago, Informel said: Hello, I am using version 1.90.0.1531 and this error is also happening to me. Hello, Sorry, how can we reproduce this issue? Quote Link to comment Share on other sites More sharing options...
Informel Posted July 28, 2020 Share Posted July 28, 2020 Hello, it happens randomly, in my case I think it happens when TUnimDBGrid is handled quickly, I pass the server log in case it can help you: 1 Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted July 28, 2020 Share Posted July 28, 2020 It happens to me and I don't know how to reproduce the error Quote Link to comment Share on other sites More sharing options...
diegojmap Posted August 4, 2020 Share Posted August 4, 2020 I am also in the latest version and I see this randomly in the system on several different screens. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 14, 2020 Share Posted August 14, 2020 I continue with the same error in version 1.90.0.1526 Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted August 15, 2020 Share Posted August 15, 2020 this disabled option caused me a lot of random problems with dbgrid, see if in your project this is disabled Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 15, 2020 Share Posted August 15, 2020 5 hours ago, wilton_rad said: esta opção desabilitada me causou muitos problemas aleatórios com dbgrid, veja se em seu projeto isto está desabilitado It is already active Quote Link to comment Share on other sites More sharing options...
Jacek Posted September 1, 2020 Share Posted September 1, 2020 Hi, did someone maybe solved this problem? I've the same Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 1, 2020 Share Posted September 1, 2020 3 minutes ago, Jacek said: Hi, did someone maybe solved this problem? I've the same Can you make a simple testcase to reproduce!? Quote Link to comment Share on other sites More sharing options...
Jacek Posted September 1, 2020 Share Posted September 1, 2020 Unfortunately not, it happens with no rules. I caught that in EurekaLog but for now cannot reproduce I'll let you know if isolate the problem. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted September 1, 2020 Share Posted September 1, 2020 I just had to comment this code to stop giving the error Quote Link to comment Share on other sites More sharing options...
likemike Posted May 15, 2021 Share Posted May 15, 2021 Me too! Appears randomly with newest Version (1.90.0.1549). 1 Quote Link to comment Share on other sites More sharing options...
likemike Posted May 16, 2021 Share Posted May 16, 2021 Hello! I've found a solution for my MoveToRow-errors. It seems to be a timing problem. The MoveToRow-function is called to late sometimes. Example: Take a UniDBGrid connected to a TFDQuery (datasource). Now define a OnDblClickEvent, that close the query and reopen it again (with a different SQL in my case). When the user doubleclicks a row, MoveToRow is called but sometimes it's to late, because the query is already closed. So MoveToRow tries to skip inside a closed query, which cause the error. So the solution is to leave the query open, as long as you can. In my case I changed the whole concept so I can leave the query open. Hope it helps. Regards Mike Quote Link to comment Share on other sites More sharing options...
MOGSY Posted May 23, 2021 Share Posted May 23, 2021 Hi I have the same issue, using version 1.90.0.1549. I believe this is happening when one scrolling quick and the data is updated may be by another user. I believe the expected row is moved to different page and position is no longer valid. Regards Quote Link to comment Share on other sites More sharing options...
mos Posted June 10, 2021 Share Posted June 10, 2021 Has this issue been fixed in a later version as we sometimes get this using version 1.90.0.1534? Quote Link to comment Share on other sites More sharing options...
SISBLU Software Posted February 22, 2022 Share Posted February 22, 2022 This issue has been resolved? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted February 23, 2022 Share Posted February 23, 2022 besides the mentioned error I have frequent and also random problems, with the Grid is in dirty state error. No more updates can be applied. in simple grids, where only one column is editable. the grid is undoubtedly a component that generates a huge amount of requests to the server, sometimes it gets lost between requests, and user actions, I have always activated the loadmask option, so any user action needs to wait by the server's response, and avoids sequential clicks by the user. it would be very good, if a version of unigui, was worked exclusively in this component. see that this post was open 4 years ago, it's until today, we have problems with the grid, I'm aware, who in 4 years, unigui has evolved a lot, but in users, we always think it can be improved which is already very good . 1 Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted February 23, 2022 Share Posted February 23, 2022 I live with this error for years and it has never been resolved, unfortunately. I think the grid deserved an overhaul as it is the most used component on all systems. 1 Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted February 23, 2022 Share Posted February 23, 2022 34 minutes ago, eduardosuruagy said: Convivo com esse erro há anos e nunca foi resolvido, infelizmente. Acho que o grid merecia uma reformulação, pois é o componente mais usado em todos os sistemas. in some screens of intense use, I simply abandoned the use of the grid, I create lists in pure html, where the visual result is much prettier, faster, and it doesn't give all these problems, we can make do with what we have.. Quote Link to comment Share on other sites More sharing options...
picyka Posted February 23, 2022 Share Posted February 23, 2022 Do you use grid to manipulate data? 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.