You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static List<Employee> generateSampleEmployeeData() {
try {
List<Employee> employees = new ArrayList<>();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MMM-dd", Locale.US);
employees.add( new Employee("Elsa", dateFormat.parse("1970-Jul-10"), 1500, 0.15) );
return employees;
} catch (ParseException e) {
throw new RuntimeException(e);
}
})
I'm getting this excel result:
Is it some known behavior or is it a bug? Is there any workaround for this? I'm experiencing the same behavior in my application right now, and I don't know how to fix it. I mean how to return only one row without template data, if I have "if" statement.
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Dear all,
First of all, I would like to thank you and your team for jxls library, it really helps the community to work with excel files easier and faster.
I'm using version 3.0.0. I have a concern regarding one test:
jxls/jxls-poi/src/test/java/org/jxls3/IfTest.java
Lines 83 to 109 in a1bb43e
while reviewing the jxls repository, I have noticed that if I change the data method here:
jxls/jxls-poi/src/test/java/org/jxls3/IfTest.java
Line 98 in a1bb43e
I'm getting this excel result:
Is it some known behavior or is it a bug? Is there any workaround for this? I'm experiencing the same behavior in my application right now, and I don't know how to fix it. I mean how to return only one row without template data, if I have "if" statement.
Thanks for your help!
The text was updated successfully, but these errors were encountered: