DBGrid moving/jumping rows lazarus / 16-Databases ---------------------------------------------------------------------- schlueter550v · 2022-03-22 06:48 Hello Forum, i am currently struggling with a problem, wich allready has solved forum posts. I have a BufDataset with two integer and one boolean row. For filling my memo field i use the OnCellClick Event, which loops through the dataset and appends one integer field to the memo if the boolen field is true. If i click some checkboxes the rows kinda jump. I allready tried the Trick with the "hacked" TDBGrid class to access the Row and VisibleRowCount propertys. The following suggestions i tried, but the jumping keeps. : https://forum.lazarus.freepascal.org/index.php/topic,48009.msg345246.h tml#msg345246 https://forum.lazarus.freepascal.org/index.php/topic,38564.msg262318.h tml#msg262318 I have to say i dont aktually understand the logic behind that MoveBy construct: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i x:=TMyHackDBGrid(DBGrid1).VisibleRowCount - TMyHackDBGrid(DBGrid1).Row;//bufdatasetactionx:= DBGrid1.DataSource.DataSet.MoveBy(x);x:= DBGrid1.DataSource.DataSet.MoveBy(-x);  in the attachement is a sample project.