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
2815
Render column titles before data present
posted

Is there a way to get xamDataGrid to render column titles before its DataSource property is set?

Parents
  • 22852
    Offline posted

    Hello,

    You could set the DataSource to an empty List<T> where T matches the type of the object in the list that you will bind the xamDataGrid to.  This would show the headers in the grid and then when you want to bind to your data you would just have to set the DataSource Property again.

    Let me know if this approach works for you.

Reply Children
No Data