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
1655
Clear contents of XamDataGrid
posted

Hi,

 

Can you tell me how to clear all the contents of the XamDataGrid (both Data and Header) which has only unbound columns?

 

 

Thanks & Regards,

Varun R

  • 69686
    Suggested Answer
    posted

    Hello Varun,

    You can clear the DataSource or assign a new one (empty).

    You can clear the Fields collection in the FieldLayout.

    You can also change the Visibility property of the grid to Hidder or Collapsed.

    Hope this helps.