We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Custom headers spreadsheet

Trying to add custom header to spreadsheet.

String dyanmiccustomer = "'Customer" + 1 + "='" + "'Romona Heaslip" + 1 + "'";

List<object> data = new List<object>()

{

                new { dyanmiccustomer= "Romona Heaslip", Model= "Taurus", Color= "Aquamarine", PaymentMode= "Debit Card", DeliveryDate= "07/11/2015", Amount= "8529.22" },

}

However the webpage shows  dyanmiccustomer in the spreadsheet not   "'Customer" + 1 + "='" + "'Romona Heaslip" + 1 + "'";

This might be a simple C# problem.  




1 Reply

VR Vasanth Ravi Syncfusion Team January 23, 2023 02:59 PM UTC

Hi Stephen,

 

With the shared snippet, we were unable to clearly understand your issue. Please share the below requested details.

 

  1. Whether you were trying to add the custom header to the column header text of spreadsheet ( A-B-C- . ) or needed to add the custom header for the data source,

  2. Share a video demonstration or screen shot of the issue you were facing at your end for better understanding.

  3. Share the issue with a reproducible sample for clear validation and a better solution.


Loader.
Live Chat Icon For mobile
Up arrow icon