TStringgrid: differents rows lazarus / 31-LCL ---------------------------------------------------------------------- pusuni · 2016-04-10 10:38 Hi ! Is there any way to change a TStringGrid for some rows in such a way, those rows only have one column for text, like the picture? http://s16.postimg.org/ou2az7eh1/Sin_t_tulo.jpg Thanks in advanced ---------------------------------------------------------------------- eny · 2016-04-10 10:48 You'll probably have to use a more advanced component like virtualstringtree or KGrid. ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-10 11:22 To assist with your research, the functionality you are after is called "Grouping". ---------------------------------------------------------------------- pusuni · 2016-04-10 16:40 Thanks a lot to all for the information PD: The easy way:  KGrid ---------------------------------------------------------------------- pusuni · 2016-04-11 10:07 Does anybody know how to set the align (Left/center/right) in Kgrid cells? I know do that in TSringgrid, but I don't know in Kgrid ---------------------------------------------------------------------- eny · 2016-04-13 20:37 In the OnDrawCell event cet the HAlign property of the cell painter to what you want. ---------------------------------------------------------------------- pusuni · 2016-04-14 09:01 Thank you very much for the info, eny.