10金币
最佳答案其实spreadjs 本身就有datetime类型的单元格下拉框,直接添加这个date time picker 展开显示的就是中文的。
let style = new GC.Spread.Sheets.Style();
style.dropDowns = [
{
type: GC.Spread.Sheets.DropDownType.dateTimePicker,
option: {
showTime: true // false will hide the time part
}
}
];
sheet.setStyle(1, 1, style);
spread.commandManager().exe ...
| |
评分
| |||||||
| |
| |
SpreadJS 17.0.9 | GcExcel 7.1.2 已发布~
|
|
| |
SpreadJS 17.0.9 | GcExcel 7.1.2 已发布~
|
|