Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1080
excel
posted

Hello, is there the possibility to export to excel 2 or more grids laying in the same page (in the same worksheet or in multiple worksheet)? Any coding example?

Thanks very much

VALERIO

Parents
No Data
Reply
  • 54937
    Offline posted

    I don't have any examples but there are overloads of the Export method that take a worksheet so you could easily have each grid export to a different worksheet in the same workbook. In theory you could have multiple grids on the same worksheet using the overload that takes the worksheet and starting row/column but you would have to know how many rows of data were used in the excel output of the previous grid. I think the only way to know that would be to do a foreach to access the allocated rows in the worksheet and look for the highest Index.

Children
No Data