PascalVBr Posted June 20, 2019 Share Posted June 20, 2019 Hi, I hope someone can help me with this... Situation: I have a TuniDBTreeGrid object with a relatively large amount of rows displayed. The rows occupy more space than available in the viewport, hence a vertical scrollbar is visible. Current behaviour: Scroll down to a random position, then refresh the data (the number of rows does not change btw) -> result: the scrollbar of the treegrid scrolls back to the top. Wanted behaviour: Scroll down to a random position, then refresh the data -> result: the scrollbar stays at its position (or - if not possible - is set back to the original position, which produces the same end result). Same question for the horizontal scrollbar... Any help is greatly appreciated :) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 20, 2019 Share Posted June 20, 2019 Hello, Which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
PascalVBr Posted June 20, 2019 Author Share Posted June 20, 2019 I am using the trial edition v1.70.0.1493 with extJS 6.7. I am working on a demo POC which will lead to buying licenses of the Professional edition if the POC gets approved. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 20, 2019 Share Posted June 20, 2019 In any case, you need to use the latest builds. Quote Link to comment Share on other sites More sharing options...
PascalVBr Posted June 20, 2019 Author Share Posted June 20, 2019 Just installed the latest build and the behaviour is still the same… Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 20, 2019 Share Posted June 20, 2019 Can you please create a test case? Quote Link to comment Share on other sites More sharing options...
PascalVBr Posted June 21, 2019 Author Share Posted June 21, 2019 Ok, so in the small test case that I made with the latest build (1.90) of uniGUI the scrollbar position IS retained!? I checked if there were some differences between the DFM's of the project I made with 1.70 and 1.90 and there are. For example the way the ClientEvents are stored in the DFM are different between 1.70 and 1.90. But if I copy the ClientEvents from a 1.90 DFM to a 1.70 DFM it does not seem to work (ClientEvents get ignored by the application). It looks like the behaviour is different between 1.70 and 1.90. If so, how can I get the correct scrollbar behaviour in the form that I made with 1.70 but am building with 1.90 now? Quote Link to comment Share on other sites More sharing options...
PascalVBr Posted June 24, 2019 Author Share Posted June 24, 2019 After trying to find a solution for 2 days now, I am still stuck with the same unwanted behaviour. This is the only issue left for my proof of concept demo. Quote Link to comment Share on other sites More sharing options...
PascalVBr Posted June 24, 2019 Author Share Posted June 24, 2019 I already found 1 reason why the scrollbar goes back to the top: it happens when changing something to the column headers (caption, font style,...). Imo this is a bug. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 25, 2019 Administrators Share Posted June 25, 2019 On 6/24/2019 at 7:53 PM, PascalVBr said: I already found 1 reason why the scrollbar goes back to the top: it happens when changing something to the column headers (caption, font style,...). Imo this is a bug. I think this is a trivial issue for your POC development. Even if we fix this issue, it will be only available in commercial builds not the trial edition. 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.