- const notShowTimestyle = new GC.Spread.Sheets.Style()
- notShowTimestyle.cellButtons = [
- {
- imageType: GC.Spread.Sheets.ButtonImageType.dropdown,
- command: "openDateTimePicker",
- useButtonStyle: true
- }
- ]
- notShowTimestyle.dropDowns = [
- {
- type: GC.Spread.Sheets.DropDownType.dateTimePicker,
- option: {
- showTime: false
- }
- }
- ]
- notShowTimestyle.formatter = "YYYY-MM-DD"
复制代码 我选了日期后,valueChanged拿到的newValue的值不认识格式:
|