We have a use-case to create excel , such that the columns can have different data types. One column can be of date type and other numeric type. Can we set data types to columns while creating excel through aspose cells. Please help us with the Java code for the problem. Discovered one api : style.setNumber() , but need more help.
Well, you may apply different data validation types as per your needs on your specified columns/cells range in the worksheet, see the document section/sub-sections with examples for your reference:
Hope, this helps a bit.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.