var isCustomReport = !string.IsNullOrEmpty(reportType) && reportType.Contains(“custom”);
string outputFile = Path.Combine(StringFunctions.GetApplicationTempFolderPath(), Guid.NewGuid().ToString());
var loadOptions = new LoadOptions(LoadFormat.Xlsx);
//Create a Workbook object and opening the file from its path
var workbook = new Workbook(convertDocumentInfo.InputFileName, loadOptions);
@mrudang
Please compress the sample files and data files into zip format and upload them here. Would like to provide runnable test code? it will be very helpful for us to locate the issue. We will check it soon.
@mrudang
By creating sample files and testing the following sample code on the latest version v24.9, we can reproduce the issue. After adding data to the table, it was found that the table cannot filter the added data. Please refer to the attachment. result.zip (14.5 KB)
The sample code as follows:
LoadOptions loadOptions = new LoadOptions(LoadFormat.Xlsx);
//Create a Workbook object and opening the file from its path
Workbook workbook = new Workbook(filePath + "a.xlsx", loadOptions);
// Define List
List<Item> list = new List<Item>();
// Add data to the list of objects
list.Add(new Item() { Id = "id1", Naam = "test1" });
list.Add(new Item() { Id = "id2", Naam = "test2" });
list.Add(new Item() { Id = "id3", Naam = "test3" });
workbook.Worksheets[0].Cells.ImportCustomObjects(list, new string[] { "Id", "Naam"}, true, 1, 0, 3, true, "", false);
workbook.Save(filePath + "out.xlsx");
public class Item
{
public string Id { get; set; }
public string Naam { get; set; }
}
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-56900
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@mrudang
Could you share a sample project with John’s sample codes? We do not confirm which row you want to insert after. And do you want to replace header row with fields’ name?
@mrudang
Thank you for your feedback and detailed information provided. We can still reproduce your issue after setting isPeopleNameShown to false. Once there is an update, we will notify you promptly.
@mrudang
Would you like to provide your sample file and test code? Please compress the data files and sample files into zip format and upload them here, and we will check them soon.