I have three questions.
1) Playing with your TreeColumn demo project, i have some strange painting issues.
I have changed the Button1Click procedure and added an NextGrid1.BestFitRow line to automatically change the rowheight to fit the cell text.
procedure TForm1.Button1Click(Sender: TObject);
begin
NextGrid1.AddRow();
NextGrid1.Cell[2, NextGrid1.LastAddedRow].AsString := 'Top Level Top Level Top Level Top Level Top Level Top Level';
NextGrid1.Cell[3, NextGrid1.LastAddedRow].AsInteger := Random(100);
NextGrid1.Cell[4, NextGrid1.LastAddedRow].AsString := 'Top Level Top Level Top Level Top Level Top Level Top Level';
NextGrid1.Cell[5, NextGrid1.LastAddedRow].AsString := '<a href="http://www.google.com">Link Text</a>';
NextGrid1.BestFitRow(NextGrid1.LastAddedRow);
NextGrid1.SelectLastRow;
end;
When you now add some nodes and subnodes, collapse and extract it by clicking on the + and - signs, you can have grid painting issues (See picture)
2) Can you add OnCollapse and OnExtract events to detect the collapsing/Extracting of the nodes ?
3) Is it possible to add a property for showing the +/- signs yes or no ? For preventing that the user can collapse/extract the nodes.
Regards,
Rony