How to select the column (or row) by clicking its header (col/row)? lazarus / 49-FPSpreadsheet ---------------------------------------------------------------------- Jvan · 2020-08-17 03:37 How to select the column (or row) by clicking its header (col/row)? ---------------------------------------------------------------------- wp · 2020-08-17 07:26 This feature is not implemented in TsWorksheetGrid. ---------------------------------------------------------------------- Jvan · 2020-08-17 14:29 So, how to select a range by using code? ---------------------------------------------------------------------- wp · 2020-08-17 15:16 I see that selection by code is a bit awkward... Should be improved. 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 type  TMyWorksheetGrid = class(TsWorksheetGrid); procedure TForm1.Button1Click(Sender: TObject);begin  TMyWorksheetGrid(sWorksheetGrid1).Selection := Rect(2, 1, 2, 9);end; ---------------------------------------------------------------------- Jvan · 2020-08-17 18:09 Thanks.