Same issue also in excel.
I don't understand what you mean. There's no built-in way to only export a "selected" band. I'm not even sure what you mean by selected band. The grid has no selected band, really.
Thanks for u r reply.
That selected band means ,selected row (it's have child\grandchild also)
I have master/child/grandchild grid on a form. When I export (pdf) the entire grid, it's showing all list view perfectly. But my question is,when I export selected row(master) it's not showing full list view of that parent row, just only showing master band, I want to show the list of selected row (master/child/grandchild). Same issue also in excel.
Hi Dhanraj,
Thre's no built-in functionality to only export the selected rows in the grid. So this must be something your code is doing and the code is not accounting for the child rows.
I'm afraid I can't tell you what your code is doing or why it's not working. But what you would have to do here is handle the exporting events of the exporter component and determine which rows should and should not be exported. So I guess what you would do is trap the RowExporting event and see if the row is selected - but you would only do this for root-level rows. Your code is probably not looking at what Band the row is in, so it's just hiding all unselected rows.