![]() ![]() This also makes it easier to manage the data outside the grid: You can start (for example) using sort algorithms on object lists use the Move methods of object lists etc and the grid just shows everything in the correct order with very little effort! This makes coding using the new style FireMonkey grid a lot simpler, as these type of changes don’t encourage coding that references methods for clearing and reloading the grids all the time. ![]() This dramatically improves the scalability of the grids and removes potential bottlenecks in your application load time. The FireMonkey grid approach only loads the data that is shown on screen. – One major problem with the old approach was memory! Can you imaging loading in 1000 images to memory so you can just leave them in the grid incase the end user wants to scroll that far down? Having come from a VCL background and having used grids for years, the new style of grid tripped me up at first as I was expecting them to work in the same way as the old VCL style grid that allowed you to load in data and then just leave it. After a recent question at an event, I thought I would put a little demo together to help understand some of the changes that come with the new style grid in FireMonkey. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |