RxDBGrid checkbox field issues lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- lainz · 2023-03-21 13:46 Hi, when the user searchs the grid and there's no result. There is an empty row with the checkbox usable. So the user selects the checkbox and gets the following error: (attached) Please fix this in order to display nothing, or don't allow to edit that empty row. I've tried this code without success: 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     if not sqlqyProductos1.IsEmpty then    begin      sqlqyProductos1.First;    dbgProductos.ReadOnly := False;      dbgProductos.Columns[0].ReadOnly := False;      dbgProductos.Columns[0].DirectInput := True;    end    else    begin      dbgProductos.ReadOnly := True;      dbgProductos.Columns[0].ReadOnly := True;      dbgProductos.Columns[0].DirectInput := False;    end;