Grid.DateTimePicker.format := 'yyyy-MM-dd';就可以了。
设置
DateSeparator := '-'; ShortDateFormat := 'yyyy-MM-dd';
对TAdvSpreadGrid表格来说,不起作用。