Problem with TMSFNCGrid AutoSizeRows

Hello.. 


Iam trying to auto size row height but with no success..

procedure TForm1.FormCreate(Sender : TObject);
begin
     TMSFNCGrid1.AutoSizeRows;
end; 

Results are showing at image below(Some lines are not correct arranged)..

Is there any other property i should set or change?



Using Lazarus 2.0.6 FPC 3.0.4 on Windows 10.

Thanks
Renato

Hi,


Are the rows fetched from the dataset? If so, please use the TMSFNCGridDatabaseAdapter1.LoadAllDataAndDisconnect, and then afterwards perform an AutoSizeRows. As the grid is dynamically loaded, the row data is only available when scrolling in the grid.