The UltraWebGrid Exporter seems to be an easy tool to use - however...
When I export a grid with 63 rows (probably any row count) it displays only the RowSelectors (63 of them).
I manually bind the data to the grid via a table in a dataset. That is, something like this:this.wg.DataSource = oClientList.DataSet.Tables["browse_table"];this.wg.DataBind();
The data displays properly in the grid, the grid contains the bands, rows, and cells when I execute the Exporter 'Export' method, and there is a RowSelector displayed in the PDF for each row in the grid. But no data.
I have exactly the same problem! Is there a solution to this yet???
That is the answer. All my columns were 0.0px wide. So they were all scrunched up to the RowSelector. When I manually size the column (ex. wg.Bands[0].Columns.FromKey("last_name").Width = Unit.Pixel(100);) than it magically appears. This is actually rather nice. Maybe I don't want to spend eons babysitting column widths for both the screen and for print.
Is there an easier solution out there???