Hi,
I hope you can help. I am using VS 2010 and have an WPF (vb.net) application which uses the XAMDatagrid. I can get the grid to bind fine. However if the database returns no results the grid does not show the grid titles. How can I get the titles to return even if there are no results
Hi Matt,
Many thanks for you reply. We are creating the columns programmatically (using field object, then adding to the fieldlayout and then adding the fieldlayout to the layout collection) .. .This method works as when we do have data it binds fine
If you define the columns you will not have this issue. I am guessing that you are allowing the grid to auto create the columns. It looks like for the gird to automatically figure out the column headers you need to have at least one row.