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
222
Need to export selected row into Excel using Ultrawebgrid and UltraWebGridExcelExporter
posted

Hi,

 I am new to the Ultrawebgrid. I need to fill ultrawebgrid using a dataset and that should have a checkbox. I should be able to select some of the rows from the grid or all of the row using the header templete using the checkbox and export them into excel. I could able the export all the record using the UltraWebGridExcelExporter. but i want the selected one to be exported. One more think in exporting is if i export the grid i don't want the checkbox column to export(It is exporting as false in Excel). Please help me out to solve my problem.

Thanks in advance.

Saro

 

Parents
  • 2167
    posted

    I would try this this it is kinda what I am doing on something already: 

    1.) Add another grid and make visible=false.
    2.) Loop your original grid and create a datatable based on the items that are checked.  Choose to include a value for the checkbox or not.
    3.) Bind your new datatable to the new grid.
    4.) Export your new grid to Excel.

    That should work...

Reply Children