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

How to change the default number of rows and columns in SpreadSheet Control

hello:
 
          How to change the default number of rows and columns in SpreadSheet Control?
 
            Thanks in advance
            
              Kenny

1 Reply

SM Saravanan M Syncfusion Team July 10, 2013 08:47 AM UTC

Hi Kenny,
             

You can achieve your requirement by setting default row and column count like below code snippet.


Code Snippet[C#]:

spreadsheet.ExcelProperties.DefaultRowCount = 50;

spreadsheet.ExcelProperties.DefaultColumnCount = 50;

Please let us know if you have any queries.

Thanks&Regards,

M.Saravanan.


Loader.
Live Chat Icon For mobile
Up arrow icon