Have cxGrid expand current date
问题 I made my grid group by date (grabbed the column name and dragged it to where it says 'group by that column'). However, when the grid is displayed all the dates are 'closed' so I must expand them to see data. That is OK but I wonder if it is possible to have current date expanded already (all other should remain closed !) so I do not have to click the expand cross? 回答1: try this, you can put the code in other event handler like a TButton for example procedure TForm1.FormCreate(Sender: TObject